Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEntropy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001059/0.001059, allocations: 99.86 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.001136/0.001136, 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 3.2.3+maint.om/package.mo): time 1.388/1.388, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.693/1.693, allocations: 292.5 MB / 0.5497 GB, free: 14.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004962/0.0004963, allocations: 20.44 kB / 0.6735 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2052/0.2057, allocations: 116.3 MB / 0.7871 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.6166/0.8224, allocations: 137 MB / 0.9209 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004287/0.8267, allocations: 3.574 MB / 0.9244 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002716/0.827, allocations: 7.781 kB / 0.9244 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006747/0.8277, allocations: 151.6 kB / 0.9245 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001121/0.8288, allocations: 361.7 kB / 0.9249 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001694/0.8305, allocations: 0.574 MB / 0.9254 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004787/0.831, allocations: 352.5 kB / 0.9258 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003235/0.8314, allocations: 164.9 kB / 0.9259 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007599/0.8321, allocations: 335.9 kB / 0.9262 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004581/0.8326, allocations: 213.7 kB / 0.9264 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.81e-05/0.8326, allocations: 14.5 kB / 0.9264 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009436/0.8336, allocations: 433.8 kB / 0.9269 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.007e-05/0.8337, allocations: 76.47 kB / 0.9269 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003841/0.8341, allocations: 71.17 kB / 0.927 GB, free: 21.75 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0006405/0.8347, allocations: 351.2 kB / 0.9273 GB, free: 21.72 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.8347, allocations: 2.969 kB / 0.9273 GB, free: 21.72 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.264e-06/0.8348, allocations: 0.6562 kB / 0.9273 GB, free: 21.72 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.8348, allocations: 0 / 0.9273 GB, free: 21.72 MB / 0.7325 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.0007735/0.8355, allocations: 0.5362 MB / 0.9279 GB, free: 21.27 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.8356, allocations: 6 kB / 0.9279 GB, free: 21.27 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006568/0.8362, allocations: 77.3 kB / 0.9279 GB, free: 21.26 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003837/0.8366, allocations: 267.5 kB / 0.9282 GB, free: 21.05 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/0.8367, allocations: 14.88 kB / 0.9282 GB, free: 21.05 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.622e-05/0.8367, allocations: 22 kB / 0.9282 GB, free: 21.05 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004893/0.8372, allocations: 294.6 kB / 0.9285 GB, free: 20.95 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.8372, allocations: 0 / 0.9285 GB, free: 20.95 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.409e-05/0.8373, allocations: 9.25 kB / 0.9285 GB, free: 20.95 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.8373, allocations: 6.266 kB / 0.9285 GB, free: 20.95 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000414/0.8377, allocations: 212.9 kB / 0.9287 GB, free: 20.95 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001479/0.8392, allocations: 1.273 MB / 0.93 GB, free: 20.1 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002475/0.8394, allocations: 190.2 kB / 0.9302 GB, free: 19.98 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003952/0.8399, allocations: 140.5 kB / 0.9303 GB, free: 19.88 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/0.8399, allocations: 40.94 kB / 0.9303 GB, free: 19.84 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=13): time 1.482e-06/0.8399, allocations: 3.938 kB / 0.9303 GB, free: 19.84 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13): time 0.0007481/0.8407, allocations: 328 kB / 0.9306 GB, free: 19.79 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.697e-05/0.8407, allocations: 167.6 kB / 0.9308 GB, free: 19.59 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002665/0.841, allocations: 281 kB / 0.9311 GB, free: 19.49 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.712e-05/0.841, allocations: 28.33 kB / 0.9311 GB, free: 19.46 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.968e-05/0.8412, allocations: 147.3 kB / 0.9312 GB, free: 19.36 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.501e-05/0.8412, allocations: 46.92 kB / 0.9313 GB, free: 19.34 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.053e-05/0.8412, allocations: 3.25 kB / 0.9313 GB, free: 19.34 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.8413, allocations: 336.5 kB / 0.9316 GB, free: 19.02 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001678/0.8415, allocations: 88.17 kB / 0.9317 GB, free: 19.02 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002354/0.8417, allocations: 156.9 kB / 0.9318 GB, free: 18.94 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000187/0.8419, allocations: 98.83 kB / 0.9319 GB, free: 18.94 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.842, allocations: 1.469 kB / 0.9319 GB, free: 18.94 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005063/0.8425, allocations: 276.2 kB / 0.9322 GB, free: 18.89 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.8425, allocations: 10.8 kB / 0.9322 GB, free: 18.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.8425, allocations: 2.969 kB / 0.9322 GB, free: 18.89 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.8425, allocations: 8.094 kB / 0.9322 GB, free: 18.88 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001863/0.8427, allocations: 44.56 kB / 0.9323 GB, free: 18.88 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.8427, allocations: 3.922 kB / 0.9323 GB, free: 18.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001927/0.8429, allocations: 35.09 kB / 0.9323 GB, free: 18.87 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.351e-05/0.843, allocations: 12.58 kB / 0.9323 GB, free: 18.87 MB / 0.7325 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.0001359/0.8431, allocations: 150.8 kB / 0.9325 GB, free: 18.75 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001332/0.8432, allocations: 25.59 kB / 0.9325 GB, free: 18.74 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005243/0.8438, allocations: 238.1 kB / 0.9327 GB, free: 18.68 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.8438, allocations: 2.641 kB / 0.9327 GB, free: 18.68 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.8438, allocations: 7.062 kB / 0.9327 GB, free: 18.67 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.8438, allocations: 0.6094 kB / 0.9327 GB, free: 18.67 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001079/0.8449, allocations: 0.9215 MB / 0.9336 GB, free: 18.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.8449, allocations: 6.5 kB / 0.9336 GB, free: 18.02 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001502/0.8451, allocations: 28.73 kB / 0.9337 GB, free: 18.02 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.8451, allocations: 3.406 kB / 0.9337 GB, free: 18.02 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.8451, allocations: 6.328 kB / 0.9337 GB, free: 18.02 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.8451, allocations: 2.906 kB / 0.9337 GB, free: 18.02 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.8451, allocations: 10.17 kB / 0.9337 GB, free: 18.02 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006467/0.8458, allocations: 486.9 kB / 0.9341 GB, free: 17.75 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.408e-05/0.8459, allocations: 117.4 kB / 0.9343 GB, free: 17.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.151e-05/0.8459, allocations: 3.109 kB / 0.9343 GB, free: 17.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/0.8461, allocations: 17.77 kB / 0.9343 GB, free: 17.63 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.404e-05/0.8461, allocations: 16.39 kB / 0.9343 GB, free: 17.63 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/0.8462, allocations: 5.141 kB / 0.9343 GB, free: 17.63 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002058/0.8464, allocations: 216.7 kB / 0.9345 GB, free: 17.55 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8464, allocations: 0 / 0.9345 GB, free: 17.55 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004972/0.8469, allocations: 96.02 kB / 0.9346 GB, free: 17.54 MB / 0.7325 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.0004526/0.8473, allocations: 212.6 kB / 0.9348 GB, free: 17.43 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004702/0.8478, allocations: 187.6 kB / 0.935 GB, free: 17.43 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.8478, allocations: 0 / 0.935 GB, free: 17.43 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002009/0.848, allocations: 89.88 kB / 0.9351 GB, free: 17.43 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007209/0.8488, allocations: 133.1 kB / 0.9352 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000872/0.8497, allocations: 0.5895 MB / 0.9358 GB, free: 17.06 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003295/0.85, allocations: 0.7669 MB / 0.9365 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002381/0.8502, allocations: 74.78 kB / 0.9366 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.048e-05/0.8503, allocations: 25.14 kB / 0.9366 GB, free: 16.33 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.8503, allocations: 0 / 0.9366 GB, free: 16.33 MB / 0.7325 GB Notification: Performance of Templates: time 0.01087/0.8612, allocations: 5.471 MB / 0.9419 GB, free: 15.93 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & ./Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) Environment - environmentSimulation: