Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.007343/0.007343, allocations: 100.9 kB / 15.73 MB, free: 6.043 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.001265/0.001266, allocations: 195.6 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.626/1.626, allocations: 205.1 MB / 222.6 MB, free: 4.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.61/1.61, allocations: 251.7 MB / 0.5094 GB, free: 3.062 MB / 414.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.00171/0.00171, allocations: 67.89 kB / 0.7258 GB, free: 9 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2741/0.2759, allocations: 104.7 MB / 0.8281 GB, free: 192 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.8481/1.124, allocations: 163.4 MB / 0.9876 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.008064/1.132, allocations: 4.628 MB / 0.9921 GB, free: 10.98 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007405/1.133, allocations: 10.38 kB / 0.9921 GB, free: 10.98 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0007049/1.134, allocations: 125.7 kB / 0.9922 GB, free: 10.87 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.002193/1.136, allocations: 0.5555 MB / 0.9928 GB, free: 10.45 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002903/1.139, allocations: 0.7854 MB / 0.9935 GB, free: 9.879 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001233/1.14, allocations: 0.5702 MB / 0.9941 GB, free: 9.555 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006456/1.141, allocations: 209.5 kB / 0.9943 GB, free: 9.434 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001692/1.142, allocations: 480.3 kB / 0.9948 GB, free: 9.137 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008911/1.143, allocations: 276.7 kB / 0.995 GB, free: 8.98 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 7.249e-05/1.143, allocations: 18 kB / 0.995 GB, free: 8.98 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002367/1.146, allocations: 1.009 MB / 0.996 GB, free: 8.41 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001667/1.146, allocations: 88.97 kB / 0.9961 GB, free: 8.352 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.00031/1.146, allocations: 133.2 kB / 0.9962 GB, free: 8.266 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.002547/1.149, allocations: 0.7064 MB / 0.9969 GB, free: 7.852 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/1.149, allocations: 2.812 kB / 0.9969 GB, free: 7.852 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.234e-06/1.149, allocations: 0 / 0.9969 GB, free: 7.852 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 2.078e-05/1.149, allocations: 0 / 0.9969 GB, free: 7.852 MB / 0.7481 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.001589/1.151, allocations: 0.5976 MB / 0.9975 GB, free: 7.305 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.375e-05/1.151, allocations: 13.62 kB / 0.9975 GB, free: 7.301 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008981/1.152, allocations: 73.66 kB / 0.9976 GB, free: 7.266 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005955/1.152, allocations: 296.3 kB / 0.9979 GB, free: 6.984 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.445e-05/1.152, allocations: 11.97 kB / 0.9979 GB, free: 6.98 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.754e-05/1.152, allocations: 24.19 kB / 0.9979 GB, free: 6.969 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005606/1.153, allocations: 279 kB / 0.9982 GB, free: 6.77 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/1.153, allocations: 0 / 0.9982 GB, free: 6.77 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.875e-05/1.153, allocations: 6.906 kB / 0.9982 GB, free: 6.766 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/1.153, allocations: 12.81 kB / 0.9982 GB, free: 6.758 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004718/1.153, allocations: 209.3 kB / 0.9984 GB, free: 6.656 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002007/1.155, allocations: 1.239 MB / 0.9996 GB, free: 5.531 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003433/1.156, allocations: 175.5 kB / 0.9998 GB, free: 5.363 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002189/1.156, allocations: 109.6 kB / 0.9999 GB, free: 5.285 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009274/1.157, allocations: 337 kB / 1 GB, free: 4.957 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.253e-05/1.157, allocations: 44.81 kB / 1 GB, free: 4.906 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=13): time 1.673e-06/1.157, allocations: 0 / 1 GB, free: 4.906 MB / 0.7481 GB Notification: Performance of matching and sorting (n=13): time 0.0008774/1.158, allocations: 269.9 kB / 1 GB, free: 4.766 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.854e-05/1.158, allocations: 165.8 kB / 1.001 GB, free: 4.57 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003181/1.158, allocations: 280.9 kB / 1.001 GB, free: 4.387 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.173e-05/1.158, allocations: 29.69 kB / 1.001 GB, free: 4.352 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001589/1.158, allocations: 148.3 kB / 1.001 GB, free: 4.215 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.015e-05/1.159, allocations: 44.23 kB / 1.001 GB, free: 4.176 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.764e-05/1.159, allocations: 37.42 kB / 1.001 GB, free: 4.148 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002026/1.159, allocations: 341.5 kB / 1.001 GB, free: 3.812 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001772/1.159, allocations: 69.88 kB / 1.002 GB, free: 3.781 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002671/1.159, allocations: 142.6 kB / 1.002 GB, free: 3.664 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004513/1.16, allocations: 218.3 kB / 1.002 GB, free: 3.504 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/1.16, allocations: 0 / 1.002 GB, free: 3.504 MB / 0.7481 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006445/1.16, allocations: 244.9 kB / 1.002 GB, free: 3.371 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.813e-05/1.161, allocations: 5.031 kB / 1.002 GB, free: 3.371 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/1.161, allocations: 1.812 kB / 1.002 GB, free: 3.371 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.074e-05/1.161, allocations: 2.906 kB / 1.002 GB, free: 3.371 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002191/1.161, allocations: 46.72 kB / 1.002 GB, free: 3.355 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/1.161, allocations: 5.781 kB / 1.002 GB, free: 3.352 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002529/1.161, allocations: 30.14 kB / 1.002 GB, free: 3.332 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.319e-05/1.161, allocations: 13.97 kB / 1.002 GB, free: 3.328 MB / 0.7481 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.0001985/1.161, allocations: 147 kB / 1.002 GB, free: 3.191 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002242/1.162, allocations: 24.78 kB / 1.002 GB, free: 3.18 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005742/1.162, allocations: 186.7 kB / 1.003 GB, free: 3.039 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-05/1.162, allocations: 8.031 kB / 1.003 GB, free: 3.035 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/1.162, allocations: 2.125 kB / 1.003 GB, free: 3.035 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/1.162, allocations: 2.531 kB / 1.003 GB, free: 3.035 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001317/1.164, allocations: 0.8581 MB / 1.003 GB, free: 2.223 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/1.164, allocations: 2.5 kB / 1.003 GB, free: 2.223 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001426/1.164, allocations: 25.92 kB / 1.003 GB, free: 2.215 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.278e-06/1.164, allocations: 6.719 kB / 1.003 GB, free: 2.211 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.655e-05/1.164, allocations: 1.125 kB / 1.003 GB, free: 2.211 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/1.164, allocations: 2.094 kB / 1.003 GB, free: 2.211 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/1.164, allocations: 2.625 kB / 1.003 GB, free: 2.211 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007142/1.164, allocations: 341.1 kB / 1.004 GB, free: 1.941 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001603/1.165, allocations: 106.6 kB / 1.004 GB, free: 1.828 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.64e-05/1.165, allocations: 14.83 kB / 1.004 GB, free: 1.816 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001577/1.165, allocations: 4.875 kB / 1.004 GB, free: 1.816 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.416e-05/1.165, allocations: 14.17 kB / 1.004 GB, free: 1.809 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.274e-05/1.165, allocations: 12.78 kB / 1.004 GB, free: 1.801 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002927/1.165, allocations: 231.7 kB / 1.004 GB, free: 1.652 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/1.165, allocations: 0 / 1.004 GB, free: 1.652 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006256/1.166, allocations: 95.36 kB / 1.004 GB, free: 1.633 MB / 0.7481 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.0007449/1.167, allocations: 198.6 kB / 1.004 GB, free: 1.504 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004355/1.167, allocations: 158.8 kB / 1.005 GB, free: 1.43 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/1.167, allocations: 0 / 1.005 GB, free: 1.43 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001752/1.167, allocations: 64.09 kB / 1.005 GB, free: 1.402 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007724/1.168, allocations: 144.8 kB / 1.005 GB, free: 1.328 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/1.169, allocations: 0.4954 MB / 1.005 GB, free: 0.9492 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004063/1.17, allocations: 0.7577 MB / 1.006 GB, free: 220 kB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002241/1.17, allocations: 62.17 kB / 1.006 GB, free: 196 kB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.948e-05/1.17, allocations: 26.88 kB / 1.006 GB, free: 184 kB / 0.7481 GB Notification: Performance of SimCode: time 4.31e-07/1.17, allocations: 0 / 1.006 GB, free: 184 kB / 0.7481 GB Notification: Performance of Templates: time 0.01347/1.183, allocations: 5.756 MB / 1.012 GB, free: 13.3 MB / 0.7637 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)