Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.815/2.815, allocations: 287.5 MB / 302.4 MB, free: 8.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001403/0.001402, allocations: 174.5 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.135/2.135, allocations: 205.4 MB / 0.6297 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009024/0.0009021, allocations: 84.75 kB / 0.743 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006608/0.000661, allocations: 12.83 kB / 0.8658 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2299/0.2306, allocations: 115.3 MB / 0.9784 GB, free: 28.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.9269/1.158, allocations: 148.2 MB / 1.123 GB, free: 1.094 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.01163/1.169, allocations: 4.253 MB / 1.127 GB, free: 0.7812 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006511/1.17, allocations: 6.406 kB / 1.127 GB, free: 0.7773 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0007099/1.171, allocations: 88.88 kB / 1.127 GB, free: 0.7422 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002625/1.173, allocations: 378.3 kB / 1.128 GB, free: 0.6484 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003866/1.177, allocations: 0.5344 MB / 1.128 GB, free: 0.5625 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001856/1.179, allocations: 0.6808 MB / 1.129 GB, free: 488 kB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005652/1.18, allocations: 162.8 kB / 1.129 GB, free: 468 kB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001824/1.182, allocations: 373.3 kB / 1.129 GB, free: 384 kB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008022/1.183, allocations: 266.2 kB / 1.13 GB, free: 340 kB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 6.151e-05/1.183, allocations: 14.84 kB / 1.13 GB, free: 336 kB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002751/1.185, allocations: 0.5192 MB / 1.13 GB, free: 276 kB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002748/1.186, allocations: 81.03 kB / 1.13 GB, free: 268 kB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001696/1.186, allocations: 70.7 kB / 1.13 GB, free: 228 kB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001396/1.187, allocations: 407.1 kB / 1.131 GB, free: 196 kB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/1.187, allocations: 4.156 kB / 1.131 GB, free: 196 kB / 0.6823 GB Notification: Performance of FrontEnd: time 2.695e-06/1.187, allocations: 0 / 1.131 GB, free: 196 kB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.654e-06/1.187, allocations: 0 / 1.131 GB, free: 196 kB / 0.6823 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.001438/1.189, allocations: 0.5551 MB / 1.131 GB, free: 15.73 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/1.189, allocations: 10.66 kB / 1.131 GB, free: 15.73 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001363/1.19, allocations: 74.81 kB / 1.131 GB, free: 15.71 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007771/1.191, allocations: 286 kB / 1.132 GB, free: 15.49 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.354e-05/1.191, allocations: 11.25 kB / 1.132 GB, free: 15.49 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.687e-05/1.191, allocations: 19.97 kB / 1.132 GB, free: 15.49 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009802/1.192, allocations: 290.6 kB / 1.132 GB, free: 15.39 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/1.192, allocations: 0 / 1.132 GB, free: 15.39 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.797e-05/1.192, allocations: 8.719 kB / 1.132 GB, free: 15.39 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.302e-05/1.192, allocations: 4.062 kB / 1.132 GB, free: 15.39 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009482/1.193, allocations: 214.6 kB / 1.132 GB, free: 15.39 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003307/1.197, allocations: 1.258 MB / 1.133 GB, free: 14.52 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006092/1.197, allocations: 184.9 kB / 1.134 GB, free: 14.39 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004676/1.198, allocations: 122.3 kB / 1.134 GB, free: 14.34 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001653/1.2, allocations: 345.3 kB / 1.134 GB, free: 14.06 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.795e-05/1.2, allocations: 33.94 kB / 1.134 GB, free: 14.02 MB / 0.698 GB Notification: Performance of pre-optimization done (n=13): time 4.579e-06/1.2, allocations: 1.859 kB / 1.134 GB, free: 14.02 MB / 0.698 GB Notification: Performance of matching and sorting (n=13): time 0.001626/1.201, allocations: 299.4 kB / 1.134 GB, free: 13.96 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001315/1.202, allocations: 161.9 kB / 1.134 GB, free: 13.77 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006213/1.202, allocations: 283 kB / 1.135 GB, free: 13.66 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.476e-05/1.202, allocations: 31.14 kB / 1.135 GB, free: 13.63 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001968/1.202, allocations: 144 kB / 1.135 GB, free: 13.54 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.451e-05/1.203, allocations: 47.02 kB / 1.135 GB, free: 13.51 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.161e-05/1.203, allocations: 3.375 kB / 1.135 GB, free: 13.51 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002305/1.203, allocations: 334.1 kB / 1.135 GB, free: 13.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004184/1.203, allocations: 75.89 kB / 1.135 GB, free: 13.19 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000462/1.204, allocations: 146 kB / 1.135 GB, free: 13.11 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004354/1.204, allocations: 90.38 kB / 1.136 GB, free: 13.11 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/1.204, allocations: 1.344 kB / 1.136 GB, free: 13.11 MB / 0.698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001226/1.206, allocations: 255 kB / 1.136 GB, free: 13.04 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.118e-05/1.206, allocations: 10.75 kB / 1.136 GB, free: 13.04 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/1.206, allocations: 4 kB / 1.136 GB, free: 13.04 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.726e-05/1.206, allocations: 6.656 kB / 1.136 GB, free: 13.04 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003999/1.206, allocations: 40.98 kB / 1.136 GB, free: 13.04 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.053e-05/1.206, allocations: 8.891 kB / 1.136 GB, free: 13.04 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005289/1.207, allocations: 39.34 kB / 1.136 GB, free: 13.02 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.549e-05/1.207, allocations: 12.14 kB / 1.136 GB, free: 13.02 MB / 0.698 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.0003345/1.207, allocations: 148.5 kB / 1.136 GB, free: 12.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000334/1.207, allocations: 28.05 kB / 1.136 GB, free: 12.88 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009872/1.208, allocations: 199.2 kB / 1.136 GB, free: 12.81 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/1.208, allocations: 2.844 kB / 1.136 GB, free: 12.81 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.909e-06/1.208, allocations: 3.281 kB / 1.136 GB, free: 12.81 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/1.209, allocations: 0 / 1.136 GB, free: 12.81 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002208/1.211, allocations: 0.8691 MB / 1.137 GB, free: 12.15 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.777e-06/1.211, allocations: 0 / 1.137 GB, free: 12.15 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000298/1.211, allocations: 26.84 kB / 1.137 GB, free: 12.15 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.067e-06/1.211, allocations: 2.844 kB / 1.137 GB, free: 12.15 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.08e-05/1.211, allocations: 128 / 1.137 GB, free: 12.15 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.308e-05/1.211, allocations: 9.797 kB / 1.137 GB, free: 12.15 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.553e-06/1.211, allocations: 8.719 kB / 1.137 GB, free: 12.14 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001285/1.213, allocations: 356.2 kB / 1.138 GB, free: 11.95 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003135/1.213, allocations: 120.4 kB / 1.138 GB, free: 11.84 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.188e-05/1.213, allocations: 3.094 kB / 1.138 GB, free: 11.84 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003989/1.213, allocations: 16.91 kB / 1.138 GB, free: 11.84 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.565e-05/1.214, allocations: 6.844 kB / 1.138 GB, free: 11.84 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.252e-05/1.214, allocations: 9.469 kB / 1.138 GB, free: 11.84 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005269/1.214, allocations: 231.9 kB / 1.138 GB, free: 11.75 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.01e-07/1.214, allocations: 0 / 1.138 GB, free: 11.75 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001027/1.215, allocations: 94.09 kB / 1.138 GB, free: 11.74 MB / 0.698 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 (10): * Single equations (assignments): 10 * 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.0008933/1.216, allocations: 216.1 kB / 1.138 GB, free: 11.62 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0008507/1.217, allocations: 157 kB / 1.138 GB, free: 11.61 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/1.217, allocations: 0 / 1.138 GB, free: 11.61 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003429/1.217, allocations: 70.86 kB / 1.138 GB, free: 11.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001742/1.219, allocations: 119.2 kB / 1.139 GB, free: 11.59 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001499/1.221, allocations: 0.5744 MB / 1.139 GB, free: 11.23 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005377/1.221, allocations: 0.7571 MB / 1.14 GB, free: 10.53 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005748/1.222, allocations: 60.56 kB / 1.14 GB, free: 10.52 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001398/1.222, allocations: 24.61 kB / 1.14 GB, free: 10.52 MB / 0.698 GB Notification: Performance of SimCode: time 1.593e-06/1.222, allocations: 0 / 1.14 GB, free: 10.52 MB / 0.698 GB Notification: Performance of Templates: time 0.02124/1.243, allocations: 5.308 MB / 1.145 GB, free: 8.703 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & ./Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)