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/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.662/1.662, allocations: 292.3 MB / 308.1 MB, free: 4.277 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.001355/0.001355, allocations: 184.5 kB / 376.9 MB, free: 1.797 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.778/1.778, allocations: 205.1 MB / 0.6354 GB, free: 9.805 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001096/0.001096, allocations: 102.7 kB / 0.748 GB, free: 61.11 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 55.91 kB / 0.8704 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2905/0.2918, allocations: 114.5 MB / 0.9822 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.6932/0.985, allocations: 161 MB / 1.139 GB, free: 1.102 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.005177/0.9902, allocations: 4.641 MB / 1.144 GB, free: 13.84 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003866/0.9907, allocations: 10.34 kB / 1.144 GB, free: 13.83 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0004301/0.9911, allocations: 98.16 kB / 1.144 GB, free: 13.77 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.00116/0.9923, allocations: 0.5123 MB / 1.145 GB, free: 13.5 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.001568/0.9939, allocations: 0.703 MB / 1.145 GB, free: 13.16 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0006936/0.9946, allocations: 0.8096 MB / 1.146 GB, free: 12.88 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000262/0.9949, allocations: 183.4 kB / 1.146 GB, free: 12.81 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007893/0.9957, allocations: 437.3 kB / 1.147 GB, free: 12.62 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00049/0.9962, allocations: 286.5 kB / 1.147 GB, free: 12.52 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 3.119e-05/0.9962, allocations: 12.41 kB / 1.147 GB, free: 12.52 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001549/0.9978, allocations: 1.173 MB / 1.148 GB, free: 12.08 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 8.79e-05/0.9979, allocations: 94.84 kB / 1.148 GB, free: 12.04 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0001087/0.998, allocations: 110.2 kB / 1.148 GB, free: 11.98 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0008738/0.9989, allocations: 0.775 MB / 1.149 GB, free: 11.74 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.9989, allocations: 0 / 1.149 GB, free: 11.74 MB / 0.7605 GB Notification: Performance of FrontEnd: time 7.71e-07/0.9989, allocations: 0 / 1.149 GB, free: 11.74 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.9989, allocations: 0 / 1.149 GB, free: 11.74 MB / 0.7605 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.0008743/0.9998, allocations: 0.5927 MB / 1.15 GB, free: 11.24 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.9998, allocations: 14 kB / 1.15 GB, free: 11.23 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005815/1, allocations: 79.17 kB / 1.15 GB, free: 11.21 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003868/1.001, allocations: 278.9 kB / 1.15 GB, free: 10.96 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.88e-05/1.001, allocations: 21.02 kB / 1.15 GB, free: 10.96 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.174e-05/1.001, allocations: 16.91 kB / 1.15 GB, free: 10.95 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004585/1.001, allocations: 286.5 kB / 1.15 GB, free: 10.79 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/1.001, allocations: 0 / 1.15 GB, free: 10.79 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.746e-05/1.001, allocations: 14.61 kB / 1.15 GB, free: 10.79 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/1.001, allocations: 8.062 kB / 1.15 GB, free: 10.78 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003963/1.002, allocations: 205.3 kB / 1.15 GB, free: 10.72 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001565/1.003, allocations: 1.251 MB / 1.152 GB, free: 9.715 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000274/1.004, allocations: 169.1 kB / 1.152 GB, free: 9.566 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000188/1.004, allocations: 112.9 kB / 1.152 GB, free: 9.504 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007194/1.005, allocations: 336.7 kB / 1.152 GB, free: 9.211 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.724e-05/1.005, allocations: 41.72 kB / 1.152 GB, free: 9.164 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=13): time 1.723e-06/1.005, allocations: 3.938 kB / 1.152 GB, free: 9.16 MB / 0.7605 GB Notification: Performance of matching and sorting (n=13): time 0.0007808/1.005, allocations: 270.6 kB / 1.153 GB, free: 9.062 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.007e-05/1.006, allocations: 159.4 kB / 1.153 GB, free: 8.871 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002907/1.006, allocations: 292.1 kB / 1.153 GB, free: 8.711 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/1.006, allocations: 25.7 kB / 1.153 GB, free: 8.68 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/1.006, allocations: 150.8 kB / 1.153 GB, free: 8.551 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 4.47e-05/1.006, allocations: 49.19 kB / 1.153 GB, free: 8.512 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.917e-05/1.006, allocations: 44.78 kB / 1.153 GB, free: 8.48 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001159/1.006, allocations: 340.1 kB / 1.154 GB, free: 8.152 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001454/1.006, allocations: 70.97 kB / 1.154 GB, free: 8.137 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002079/1.007, allocations: 139.2 kB / 1.154 GB, free: 8.035 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003456/1.007, allocations: 211.5 kB / 1.154 GB, free: 7.91 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/1.007, allocations: 0.6875 kB / 1.154 GB, free: 7.91 MB / 0.7605 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004569/1.007, allocations: 244.9 kB / 1.154 GB, free: 7.809 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/1.008, allocations: 6.25 kB / 1.154 GB, free: 7.809 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/1.008, allocations: 6.812 kB / 1.154 GB, free: 7.805 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/1.008, allocations: 3.281 kB / 1.154 GB, free: 7.805 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001744/1.008, allocations: 39.22 kB / 1.154 GB, free: 7.801 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/1.008, allocations: 10.62 kB / 1.154 GB, free: 7.797 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001981/1.008, allocations: 29.41 kB / 1.154 GB, free: 7.781 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.343e-05/1.008, allocations: 9.594 kB / 1.154 GB, free: 7.781 MB / 0.7605 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001535/1.008, allocations: 155.6 kB / 1.154 GB, free: 7.645 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001416/1.008, allocations: 24.34 kB / 1.155 GB, free: 7.633 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004675/1.009, allocations: 188.4 kB / 1.155 GB, free: 7.523 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/1.009, allocations: 2.844 kB / 1.155 GB, free: 7.523 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-05/1.009, allocations: 8.188 kB / 1.155 GB, free: 7.52 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/1.009, allocations: 3.938 kB / 1.155 GB, free: 7.516 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009587/1.01, allocations: 0.8494 MB / 1.156 GB, free: 6.789 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.634e-06/1.01, allocations: 4.156 kB / 1.156 GB, free: 6.785 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001138/1.01, allocations: 26.59 kB / 1.156 GB, free: 6.781 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.552e-06/1.01, allocations: 3.938 kB / 1.156 GB, free: 6.777 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/1.01, allocations: 4.406 kB / 1.156 GB, free: 6.777 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/1.01, allocations: 3.219 kB / 1.156 GB, free: 6.777 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/1.01, allocations: 0.75 kB / 1.156 GB, free: 6.777 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004099/1.014, allocations: 1.907 MB / 1.157 GB, free: 5.434 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 8.731e-05/1.014, allocations: 110.2 kB / 1.158 GB, free: 5.32 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.942e-05/1.014, allocations: 7.344 kB / 1.158 GB, free: 5.316 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001541/1.014, allocations: 18 kB / 1.158 GB, free: 5.309 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.4e-05/1.014, allocations: 6.875 kB / 1.158 GB, free: 5.309 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/1.014, allocations: 7.875 kB / 1.158 GB, free: 5.305 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.00021/1.015, allocations: 241.1 kB / 1.158 GB, free: 5.18 MB / 0.7605 GB Notification: Performance of sort global known variables: time 2.41e-07/1.015, allocations: 0 / 1.158 GB, free: 5.18 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0005817/1.015, allocations: 118.8 kB / 1.158 GB, free: 5.164 MB / 0.7605 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005376/1.016, allocations: 221.5 kB / 1.158 GB, free: 5.043 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0003887/1.016, allocations: 149 kB / 1.158 GB, free: 5.004 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/1.016, allocations: 0 / 1.158 GB, free: 5.004 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001328/1.016, allocations: 58.58 kB / 1.158 GB, free: 4.988 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007793/1.017, allocations: 135.5 kB / 1.158 GB, free: 4.961 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009169/1.018, allocations: 0.687 MB / 1.159 GB, free: 4.434 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003189/1.018, allocations: 0.7643 MB / 1.16 GB, free: 3.727 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0002036/1.019, allocations: 70.88 kB / 1.16 GB, free: 3.715 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.163e-05/1.019, allocations: 22.81 kB / 1.16 GB, free: 3.707 MB / 0.7605 GB Notification: Performance of SimCode: time 2.2e-07/1.019, allocations: 3 kB / 1.16 GB, free: 3.707 MB / 0.7605 GB Notification: Performance of Templates: time 0.008933/1.028, allocations: 5.69 MB / 1.166 GB, free: 3.301 MB / 0.7605 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile (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)