Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.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.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy") translateModel(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008127/0.0008127, allocations: 99.47 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.0008251/0.0008251, allocations: 177.3 kB / 15.94 MB, free: 228 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.148/1.148, allocations: 223.2 MB / 239.9 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001603/0.001603, allocations: 262.6 kB / 291.2 MB, free: 1.891 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.7314/0.7314, allocations: 144.6 MB / 487 MB, free: 7.215 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003793/0.0003794, allocations: 15.72 kB / 0.5683 GB, free: 38.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1277, allocations: 83.09 MB / 0.6494 GB, free: 3.676 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy): time 0.3921/0.5198, allocations: 136.9 MB / 0.7832 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003486/0.5233, allocations: 3.583 MB / 0.7867 GB, free: 2.23 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001877/0.5235, allocations: 6.75 kB / 0.7867 GB, free: 2.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005175/0.5241, allocations: 154.8 kB / 0.7868 GB, free: 2.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0008565/0.5249, allocations: 362.2 kB / 0.7872 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001237/0.5262, allocations: 0.5658 MB / 0.7877 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000374/0.5265, allocations: 347.3 kB / 0.788 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002918/0.5268, allocations: 170.3 kB / 0.7882 GB, free: 2.207 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005741/0.5274, allocations: 333.1 kB / 0.7885 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003709/0.5278, allocations: 219.9 kB / 0.7887 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.427e-05/0.5278, allocations: 9.75 kB / 0.7887 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007049/0.5286, allocations: 436.7 kB / 0.7892 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.28e-05/0.5287, allocations: 79.62 kB / 0.7892 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.764e-05/0.5287, allocations: 70.11 kB / 0.7893 GB, free: 2.168 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004194/0.5291, allocations: 351.2 kB / 0.7896 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.5291, allocations: 0 / 0.7896 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.074e-06/0.5292, allocations: 0.5625 kB / 0.7896 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.409e-06/0.5292, allocations: 0 / 0.7896 GB, free: 2.148 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0007845/0.53, allocations: 0.5363 MB / 0.7902 GB, free: 17.7 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 2.924e-05/0.53, allocations: 9.797 kB / 0.7902 GB, free: 17.7 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006126/0.5306, allocations: 75.19 kB / 0.7902 GB, free: 17.69 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003354/0.531, allocations: 275.3 kB / 0.7905 GB, free: 17.47 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.531, allocations: 14.94 kB / 0.7905 GB, free: 17.47 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.401e-05/0.531, allocations: 23.95 kB / 0.7905 GB, free: 17.47 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004442/0.5315, allocations: 289.9 kB / 0.7908 GB, free: 17.37 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.5315, allocations: 3.625 kB / 0.7908 GB, free: 17.37 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.281e-05/0.5315, allocations: 8.25 kB / 0.7908 GB, free: 17.37 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.5315, allocations: 4.781 kB / 0.7908 GB, free: 17.37 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004115/0.532, allocations: 216.1 kB / 0.791 GB, free: 17.37 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001371/0.5333, allocations: 1.26 MB / 0.7923 GB, free: 16.53 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002626/0.5336, allocations: 194.1 kB / 0.7925 GB, free: 16.41 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003433/0.534, allocations: 138.1 kB / 0.7926 GB, free: 16.31 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.534, allocations: 42.36 kB / 0.7926 GB, free: 16.27 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=13): time 1.333e-06/0.534, allocations: 0 / 0.7926 GB, free: 16.27 MB / 0.5763 GB Notification: Performance of matching and sorting (n=13): time 0.0007517/0.5348, allocations: 327.2 kB / 0.7929 GB, free: 16.22 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.872e-05/0.5348, allocations: 161.3 kB / 0.7931 GB, free: 16.03 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002722/0.5351, allocations: 290.6 kB / 0.7934 GB, free: 15.92 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/0.5352, allocations: 33.55 kB / 0.7934 GB, free: 15.89 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 9.371e-05/0.5353, allocations: 145.3 kB / 0.7935 GB, free: 15.79 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 3.362e-05/0.5353, allocations: 48.11 kB / 0.7936 GB, free: 15.77 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.769e-06/0.5353, allocations: 3.5 kB / 0.7936 GB, free: 15.77 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.5354, allocations: 336.3 kB / 0.7939 GB, free: 15.45 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001646/0.5356, allocations: 81.69 kB / 0.794 GB, free: 15.45 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001979/0.5358, allocations: 160.9 kB / 0.7941 GB, free: 15.37 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001766/0.536, allocations: 102 kB / 0.7942 GB, free: 15.36 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.536, allocations: 1.094 kB / 0.7942 GB, free: 15.36 MB / 0.5763 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004726/0.5365, allocations: 276.7 kB / 0.7945 GB, free: 15.32 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.5365, allocations: 6.438 kB / 0.7945 GB, free: 15.32 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.5365, allocations: 3.125 kB / 0.7945 GB, free: 15.32 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.5365, allocations: 3.094 kB / 0.7945 GB, free: 15.32 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001868/0.5367, allocations: 48.75 kB / 0.7946 GB, free: 15.31 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.5367, allocations: 10.09 kB / 0.7946 GB, free: 15.31 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001772/0.5369, allocations: 27.56 kB / 0.7946 GB, free: 15.3 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.012e-05/0.537, allocations: 17.14 kB / 0.7946 GB, free: 15.3 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (18): * Single equations (assignments): 18 * 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 0.0001287/0.5371, allocations: 149.2 kB / 0.7948 GB, free: 15.18 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001288/0.5372, allocations: 28.25 kB / 0.7948 GB, free: 15.17 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000483/0.5377, allocations: 233.3 kB / 0.795 GB, free: 15.1 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.5377, allocations: 1.875 kB / 0.795 GB, free: 15.1 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.5377, allocations: 2.219 kB / 0.795 GB, free: 15.1 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.5377, allocations: 1.125 kB / 0.795 GB, free: 15.1 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001034/0.5388, allocations: 0.9249 MB / 0.7959 GB, free: 14.46 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.5388, allocations: 1.312 kB / 0.7959 GB, free: 14.46 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001456/0.5389, allocations: 37.33 kB / 0.796 GB, free: 14.45 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.539, allocations: 5.25 kB / 0.796 GB, free: 14.45 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.703e-05/0.539, allocations: 6.875 kB / 0.796 GB, free: 14.45 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.539, allocations: 6.359 kB / 0.796 GB, free: 14.45 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.539, allocations: 1.75 kB / 0.796 GB, free: 14.45 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006238/0.5396, allocations: 495.2 kB / 0.7964 GB, free: 14.17 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 9.61e-05/0.5397, allocations: 117.2 kB / 0.7966 GB, free: 14.06 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.096e-05/0.5398, allocations: 8.469 kB / 0.7966 GB, free: 14.06 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001571/0.5399, allocations: 14.56 kB / 0.7966 GB, free: 14.06 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.634e-05/0.54, allocations: 19.16 kB / 0.7966 GB, free: 14.05 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.5e-05/0.54, allocations: 5.281 kB / 0.7966 GB, free: 14.05 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.0001976/0.5402, allocations: 219.2 kB / 0.7968 GB, free: 13.98 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5402, allocations: 0 / 0.7968 GB, free: 13.98 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0004384/0.5407, allocations: 96.08 kB / 0.7969 GB, free: 13.96 MB / 0.5763 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.s) * 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 (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 Backend phase and start with SimCode phase: time 0.000407/0.5411, allocations: 201.8 kB / 0.7971 GB, free: 13.86 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0004185/0.5415, allocations: 188.5 kB / 0.7973 GB, free: 13.85 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.5415, allocations: 1.438 kB / 0.7973 GB, free: 13.85 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.0001694/0.5417, allocations: 87.52 kB / 0.7974 GB, free: 13.85 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006433/0.5423, allocations: 130.9 kB / 0.7975 GB, free: 13.84 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000721/0.5431, allocations: 0.5934 MB / 0.7981 GB, free: 13.48 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002956/0.5434, allocations: 0.7686 MB / 0.7988 GB, free: 12.79 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.0001925/0.5436, allocations: 67.7 kB / 0.7989 GB, free: 12.77 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.358e-05/0.5436, allocations: 23.66 kB / 0.7989 GB, free: 12.77 MB / 0.5763 GB Notification: Performance of SimCode: time 8.61e-07/0.5436, allocations: 0 / 0.7989 GB, free: 12.77 MB / 0.5763 GB Notification: Performance of Templates: time 0.008439/0.5521, allocations: 5.477 MB / 0.8042 GB, free: 12.38 MB / 0.5763 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) Environment - environmentSimulation: