Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000878/0.0008784, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008572/0.0008572, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.157/1.157, allocations: 223.2 MB / 239.9 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001604/0.001604, allocations: 266.8 kB / 291.3 MB, free: 1.926 MB / 238.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:5:3-5:34:writable] Warning: Got element f_alp that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_lay but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Got element f_lay that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_loss but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Got element f_loss that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_pv but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Got element f_pv that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:2:1-34:14:writable] Warning: f_pv was referenced in the package.order file, but was not found in package.mo, f_pv/package.mo or f_pv.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7208/0.7208, allocations: 144.6 MB / 487 MB, free: 7.203 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003737/0.0003737, allocations: 13.61 kB / 0.5683 GB, free: 38.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1168, allocations: 83.09 MB / 0.6494 GB, free: 3.633 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001087/0.118, allocations: 0.9656 MB / 0.6504 GB, free: 2.656 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001994/0.12, allocations: 1.876 MB / 0.6522 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.927e-05/0.12, allocations: 2.25 kB / 0.6522 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.047e-05/0.12, allocations: 0 / 0.6522 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.498e-05/0.1201, allocations: 3.984 kB / 0.6522 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003393/0.1204, allocations: 112.2 kB / 0.6523 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.606e-05/0.1205, allocations: 24.56 kB / 0.6523 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.659e-05/0.1205, allocations: 0 / 0.6523 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.923e-05/0.1206, allocations: 25.41 kB / 0.6524 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.006e-05/0.1206, allocations: 15.92 kB / 0.6524 GB, free: 0.6016 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.598e-06/0.1206, allocations: 0 / 0.6524 GB, free: 0.6016 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002442/0.1209, allocations: 112.5 kB / 0.6525 GB, free: 0.4922 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.349e-05/0.1209, allocations: 7.938 kB / 0.6525 GB, free: 496 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.352e-05/0.1209, allocations: 30.45 kB / 0.6525 GB, free: 460 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000102/0.121, allocations: 43.94 kB / 0.6526 GB, free: 416 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.1211, allocations: 8.656 kB / 0.6526 GB, free: 408 kB / 446.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1211, allocations: 0 / 0.6526 GB, free: 408 kB / 446.1 MB Notification: Performance of Transformations before backend: time 3.096e-06/0.1211, allocations: 0.5 kB / 0.6526 GB, free: 408 kB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002762/0.1214, allocations: 352.5 kB / 0.6529 GB, free: 8 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.779e-05/0.1214, allocations: 9.5 kB / 0.6529 GB, free: 0 / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001879/0.1216, allocations: 11.98 kB / 0.6529 GB, free: 15.99 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.003e-05/0.1217, allocations: 167 kB / 0.6531 GB, free: 15.79 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.817e-06/0.1217, allocations: 4 kB / 0.6531 GB, free: 15.78 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.952e-05/0.1217, allocations: 4.719 kB / 0.6531 GB, free: 15.78 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001142/0.1218, allocations: 73.34 kB / 0.6532 GB, free: 15.69 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.191e-06/0.1218, allocations: 0.6562 kB / 0.6532 GB, free: 15.69 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.1219, allocations: 0 / 0.6532 GB, free: 15.69 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.1219, allocations: 8.578 kB / 0.6532 GB, free: 15.68 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.261e-05/0.1219, allocations: 8.469 kB / 0.6532 GB, free: 15.68 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004689/0.1224, allocations: 474 kB / 0.6536 GB, free: 15.15 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.1225, allocations: 76.66 kB / 0.6537 GB, free: 15.05 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.201e-06/0.1225, allocations: 0.6875 kB / 0.6537 GB, free: 15.05 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.1225, allocations: 44.33 kB / 0.6538 GB, free: 15 MB / 462.1 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.1225, allocations: 0 / 0.6538 GB, free: 15 MB / 462.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004872/0.123, allocations: 296.7 kB / 0.654 GB, free: 14.66 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/0.1231, allocations: 102.8 kB / 0.6541 GB, free: 14.54 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.86e-05/0.1232, allocations: 106.4 kB / 0.6542 GB, free: 14.42 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/0.1232, allocations: 31.73 kB / 0.6543 GB, free: 14.39 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.203e-05/0.1232, allocations: 84.05 kB / 0.6544 GB, free: 14.3 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.184e-05/0.1232, allocations: 31.55 kB / 0.6544 GB, free: 14.27 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.468e-06/0.1232, allocations: 4 kB / 0.6544 GB, free: 14.27 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 7.836e-05/0.1233, allocations: 311.5 kB / 0.6547 GB, free: 13.95 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.484e-05/0.1234, allocations: 15.98 kB / 0.6547 GB, free: 13.94 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.098e-05/0.1234, allocations: 56.55 kB / 0.6548 GB, free: 13.87 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.487e-05/0.1234, allocations: 23.94 kB / 0.6548 GB, free: 13.84 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.1235, allocations: 0.9062 kB / 0.6548 GB, free: 13.84 MB / 462.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001154/0.1236, allocations: 90.2 kB / 0.6549 GB, free: 13.75 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.1236, allocations: 7.062 kB / 0.6549 GB, free: 13.75 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.1236, allocations: 4 kB / 0.6549 GB, free: 13.74 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.528e-06/0.1236, allocations: 0 / 0.6549 GB, free: 13.74 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.244e-05/0.1237, allocations: 28.05 kB / 0.6549 GB, free: 13.71 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.1237, allocations: 5.094 kB / 0.6549 GB, free: 13.71 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.489e-05/0.1237, allocations: 3.953 kB / 0.6549 GB, free: 13.71 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.1238, allocations: 4 kB / 0.6549 GB, free: 13.7 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.45e-05/0.1238, allocations: 126.1 kB / 0.655 GB, free: 13.57 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.136e-05/0.1239, allocations: 7.906 kB / 0.655 GB, free: 13.56 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.55e-05/0.1239, allocations: 8.172 kB / 0.655 GB, free: 13.56 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.1239, allocations: 7.938 kB / 0.6551 GB, free: 13.55 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.1239, allocations: 0 / 0.6551 GB, free: 13.55 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.1239, allocations: 0 / 0.6551 GB, free: 13.55 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002875/0.1242, allocations: 181.6 kB / 0.6552 GB, free: 13.32 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.1242, allocations: 4 kB / 0.6552 GB, free: 13.32 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.694e-05/0.1243, allocations: 15.98 kB / 0.6552 GB, free: 13.3 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.1243, allocations: 3.984 kB / 0.6552 GB, free: 13.3 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.1243, allocations: 8 kB / 0.6553 GB, free: 13.29 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.1244, allocations: 0 / 0.6553 GB, free: 13.29 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.1244, allocations: 3.938 kB / 0.6553 GB, free: 13.29 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001901/0.1246, allocations: 349.4 kB / 0.6556 GB, free: 12.92 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.645e-05/0.1246, allocations: 89.14 kB / 0.6557 GB, free: 12.81 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.275e-05/0.1246, allocations: 0 / 0.6557 GB, free: 12.81 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001588/0.1248, allocations: 8 kB / 0.6557 GB, free: 12.8 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.479e-05/0.1248, allocations: 3.953 kB / 0.6557 GB, free: 12.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.1248, allocations: 7.984 kB / 0.6557 GB, free: 12.79 MB / 462.1 MB Notification: Performance of sorting global known variables: time 3.597e-05/0.1249, allocations: 83.28 kB / 0.6558 GB, free: 12.71 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1249, allocations: 0 / 0.6558 GB, free: 12.71 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002826/0.1252, allocations: 8 kB / 0.6558 GB, free: 12.7 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (hLiqSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001001/0.1253, allocations: 115.2 kB / 0.6559 GB, free: 12.58 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 9.128e-05/0.1254, allocations: 39.91 kB / 0.6559 GB, free: 12.54 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.1254, allocations: 4 kB / 0.6559 GB, free: 12.54 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 2.239e-05/0.1254, allocations: 23.86 kB / 0.656 GB, free: 12.51 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002307/0.1256, allocations: 8.219 kB / 0.656 GB, free: 12.5 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005027/0.1261, allocations: 399.2 kB / 0.6563 GB, free: 12.08 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001977/0.1264, allocations: 0.69 MB / 0.657 GB, free: 11.37 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 4.734e-05/0.1264, allocations: 7.984 kB / 0.657 GB, free: 11.36 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.824e-05/0.1264, allocations: 11.44 kB / 0.657 GB, free: 11.35 MB / 462.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1264, allocations: 0 / 0.657 GB, free: 11.35 MB / 462.1 MB Notification: Performance of Templates: time 0.002219/0.1287, allocations: 0.5927 MB / 0.6576 GB, free: 10.79 MB / 462.1 MB make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: