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.001069/0.001069, allocations: 99.36 kB / 15.33 MB, free: 0.5078 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.001115/0.001115, allocations: 193.1 kB / 16.25 MB, free: 6.629 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.735/1.735, allocations: 205.1 MB / 222.1 MB, free: 4.707 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.794/1.794, allocations: 292.2 MB / 0.5485 GB, free: 13.66 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.001386/0.001386, allocations: 66.84 kB / 0.671 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.271/0.2724, allocations: 114.6 MB / 0.7829 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.8024/1.075, allocations: 161 MB / 0.9401 GB, free: 5.992 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.005456/1.08, allocations: 4.552 MB / 0.9445 GB, free: 5.906 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006755/1.081, allocations: 11.38 kB / 0.9445 GB, free: 5.906 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005554/1.082, allocations: 107.6 kB / 0.9446 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.00182/1.084, allocations: 0.5077 MB / 0.9451 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002706/1.086, allocations: 0.7047 MB / 0.9458 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001004/1.087, allocations: 0.5831 MB / 0.9464 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003662/1.088, allocations: 204.9 kB / 0.9466 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00131/1.089, allocations: 462.7 kB / 0.947 GB, free: 5.801 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007269/1.09, allocations: 300.3 kB / 0.9473 GB, free: 5.801 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.105e-05/1.09, allocations: 17.66 kB / 0.9473 GB, free: 5.801 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002183/1.092, allocations: 1.048 MB / 0.9484 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001387/1.092, allocations: 89.45 kB / 0.9484 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000167/1.092, allocations: 125.1 kB / 0.9486 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001377/1.094, allocations: 0.7803 MB / 0.9493 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/1.094, allocations: 0 / 0.9493 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.615e-06/1.094, allocations: 1.156 kB / 0.9493 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.634e-06/1.094, allocations: 0 / 0.9493 GB, free: 5.746 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.001519/1.095, allocations: 0.5922 MB / 0.9499 GB, free: 21.29 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/1.095, allocations: 8.938 kB / 0.9499 GB, free: 21.29 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007366/1.096, allocations: 78.67 kB / 0.95 GB, free: 21.27 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004315/1.096, allocations: 283.8 kB / 0.9503 GB, free: 21.05 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.589e-05/1.097, allocations: 15.47 kB / 0.9503 GB, free: 21.05 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.927e-05/1.097, allocations: 20.12 kB / 0.9503 GB, free: 21.05 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006124/1.097, allocations: 284.8 kB / 0.9506 GB, free: 20.95 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/1.097, allocations: 3.844 kB / 0.9506 GB, free: 20.95 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.843e-05/1.097, allocations: 12.91 kB / 0.9506 GB, free: 20.95 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.481e-05/1.097, allocations: 9.062 kB / 0.9506 GB, free: 20.95 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000508/1.098, allocations: 203.6 kB / 0.9508 GB, free: 20.95 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002032/1.1, allocations: 1.251 MB / 0.952 GB, free: 20.1 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003394/1.1, allocations: 177 kB / 0.9522 GB, free: 19.98 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002157/1.1, allocations: 113.5 kB / 0.9523 GB, free: 19.94 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009245/1.101, allocations: 332.8 kB / 0.9526 GB, free: 19.65 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.493e-05/1.101, allocations: 40.53 kB / 0.9526 GB, free: 19.61 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=13): time 1.723e-06/1.101, allocations: 0 / 0.9526 GB, free: 19.61 MB / 0.7481 GB Notification: Performance of matching and sorting (n=13): time 0.0009616/1.102, allocations: 275.6 kB / 0.9529 GB, free: 19.57 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001298/1.103, allocations: 164 kB / 0.9531 GB, free: 19.38 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003999/1.103, allocations: 284.9 kB / 0.9533 GB, free: 19.28 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.303e-05/1.103, allocations: 27.39 kB / 0.9534 GB, free: 19.25 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001716/1.103, allocations: 151.7 kB / 0.9535 GB, free: 19.15 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.454e-05/1.103, allocations: 50.75 kB / 0.9536 GB, free: 19.12 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.095e-05/1.103, allocations: 48.64 kB / 0.9536 GB, free: 19.09 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001441/1.103, allocations: 340.6 kB / 0.9539 GB, free: 18.78 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001743/1.104, allocations: 63.45 kB / 0.954 GB, free: 18.78 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002375/1.104, allocations: 149.3 kB / 0.9541 GB, free: 18.7 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003651/1.104, allocations: 209.6 kB / 0.9543 GB, free: 18.62 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/1.104, allocations: 0 / 0.9543 GB, free: 18.62 MB / 0.7481 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005196/1.105, allocations: 246.9 kB / 0.9546 GB, free: 18.57 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.588e-05/1.105, allocations: 8.812 kB / 0.9546 GB, free: 18.57 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/1.105, allocations: 1.719 kB / 0.9546 GB, free: 18.57 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.192e-05/1.105, allocations: 2.812 kB / 0.9546 GB, free: 18.57 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002037/1.105, allocations: 36.92 kB / 0.9546 GB, free: 18.57 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.4e-05/1.105, allocations: 6.156 kB / 0.9546 GB, free: 18.57 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002153/1.105, allocations: 31.3 kB / 0.9546 GB, free: 18.56 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-05/1.105, allocations: 14.88 kB / 0.9547 GB, free: 18.56 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.0001709/1.106, allocations: 151.7 kB / 0.9548 GB, free: 18.44 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001516/1.106, allocations: 27.59 kB / 0.9548 GB, free: 18.43 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005044/1.106, allocations: 188.2 kB / 0.955 GB, free: 18.36 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/1.106, allocations: 2.062 kB / 0.955 GB, free: 18.36 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/1.106, allocations: 2.219 kB / 0.955 GB, free: 18.36 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/1.106, allocations: 3.469 kB / 0.955 GB, free: 18.36 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001025/1.107, allocations: 0.8543 MB / 0.9558 GB, free: 17.71 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/1.107, allocations: 1.156 kB / 0.9559 GB, free: 17.71 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001214/1.107, allocations: 25.53 kB / 0.9559 GB, free: 17.71 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.602e-06/1.107, allocations: 6.344 kB / 0.9559 GB, free: 17.71 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/1.107, allocations: 6.406 kB / 0.9559 GB, free: 17.7 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/1.107, allocations: 2.219 kB / 0.9559 GB, free: 17.7 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/1.108, allocations: 1.156 kB / 0.9559 GB, free: 17.7 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005749/1.108, allocations: 347.7 kB / 0.9562 GB, free: 17.52 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001141/1.108, allocations: 114.6 kB / 0.9563 GB, free: 17.41 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.4e-05/1.108, allocations: 6.969 kB / 0.9563 GB, free: 17.4 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001657/1.108, allocations: 10.7 kB / 0.9563 GB, free: 17.4 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.563e-05/1.108, allocations: 14.55 kB / 0.9564 GB, free: 17.4 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.515e-05/1.109, allocations: 11.66 kB / 0.9564 GB, free: 17.4 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000342/1.109, allocations: 233.1 kB / 0.9566 GB, free: 17.32 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/1.109, allocations: 0 / 0.9566 GB, free: 17.32 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006953/1.11, allocations: 97.09 kB / 0.9567 GB, free: 17.3 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.0006758/1.11, allocations: 218.4 kB / 0.9569 GB, free: 17.2 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004799/1.111, allocations: 149.5 kB / 0.957 GB, free: 17.2 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/1.111, allocations: 0 / 0.957 GB, free: 17.2 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000172/1.111, allocations: 62.77 kB / 0.9571 GB, free: 17.2 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008504/1.112, allocations: 140 kB / 0.9572 GB, free: 17.18 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009922/1.113, allocations: 0.5564 MB / 0.9578 GB, free: 16.8 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004463/1.113, allocations: 0.7563 MB / 0.9585 GB, free: 16.11 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002834/1.114, allocations: 70.09 kB / 0.9586 GB, free: 16.09 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.858e-05/1.114, allocations: 23.22 kB / 0.9586 GB, free: 16.08 MB / 0.7481 GB Notification: Performance of SimCode: time 6.11e-07/1.114, allocations: 0 / 0.9586 GB, free: 16.08 MB / 0.7481 GB Notification: Performance of Templates: time 0.01225/1.126, allocations: 5.741 MB / 0.9642 GB, free: 15.67 MB / 0.7481 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)