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.001573/0.001573, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.001727/0.001727, allocations: 195.3 kB / 16.91 MB, free: 6.195 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.495/1.495, allocations: 205.1 MB / 222.8 MB, free: 4.695 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.694/1.694, allocations: 292.3 MB / 0.5492 GB, free: 13.61 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.001306/0.001306, allocations: 63.7 kB / 0.6716 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2243/0.2256, allocations: 114.6 MB / 0.7835 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.5971/0.8228, allocations: 161 MB / 0.9407 GB, free: 6.039 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004954/0.8278, allocations: 4.555 MB / 0.9452 GB, free: 5.945 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005212/0.8283, allocations: 11.16 kB / 0.9452 GB, free: 5.945 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0004512/0.8288, allocations: 103.7 kB / 0.9453 GB, free: 5.941 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001369/0.8302, allocations: 0.5069 MB / 0.9458 GB, free: 5.914 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00191/0.8321, allocations: 0.7153 MB / 0.9465 GB, free: 5.883 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.00071/0.8329, allocations: 0.5805 MB / 0.9471 GB, free: 5.879 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003377/0.8332, allocations: 196.8 kB / 0.9473 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00105/0.8343, allocations: 462.2 kB / 0.9477 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005625/0.8348, allocations: 298.4 kB / 0.948 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.465e-05/0.8349, allocations: 26.44 kB / 0.948 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001987/0.8369, allocations: 1.05 MB / 0.949 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001324/0.837, allocations: 87.64 kB / 0.9491 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001559/0.8372, allocations: 128.6 kB / 0.9492 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0009171/0.8381, allocations: 0.4949 MB / 0.9497 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.8381, allocations: 3.156 kB / 0.9497 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.543e-06/0.8381, allocations: 0 / 0.9497 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.295e-06/0.8382, allocations: 0 / 0.9497 GB, free: 5.797 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.001312/0.8395, allocations: 0.5954 MB / 0.9503 GB, free: 21.34 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.8395, allocations: 9.969 kB / 0.9503 GB, free: 21.34 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007187/0.8402, allocations: 79.41 kB / 0.9504 GB, free: 21.32 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004003/0.8407, allocations: 279.5 kB / 0.9507 GB, free: 21.1 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.027e-05/0.8407, allocations: 16.7 kB / 0.9507 GB, free: 21.1 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.713e-05/0.8407, allocations: 21.31 kB / 0.9507 GB, free: 21.1 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005129/0.8413, allocations: 285.5 kB / 0.951 GB, free: 21 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.8413, allocations: 0.9688 kB / 0.951 GB, free: 21 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.58e-05/0.8413, allocations: 9.156 kB / 0.951 GB, free: 21 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.532e-05/0.8413, allocations: 8.375 kB / 0.951 GB, free: 21 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004875/0.8418, allocations: 205.5 kB / 0.9512 GB, free: 21 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00175/0.8436, allocations: 1.252 MB / 0.9524 GB, free: 20.15 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002915/0.8439, allocations: 174.7 kB / 0.9526 GB, free: 20.03 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002208/0.8441, allocations: 113 kB / 0.9527 GB, free: 19.98 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008351/0.845, allocations: 334.8 kB / 0.953 GB, free: 19.7 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/0.845, allocations: 41.28 kB / 0.953 GB, free: 19.66 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=13): time 1.412e-06/0.845, allocations: 0.9375 kB / 0.953 GB, free: 19.66 MB / 0.7481 GB Notification: Performance of matching and sorting (n=13): time 0.0008345/0.8459, allocations: 274.3 kB / 0.9533 GB, free: 19.62 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.823e-05/0.846, allocations: 165.4 kB / 0.9535 GB, free: 19.43 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003261/0.8463, allocations: 287 kB / 0.9537 GB, free: 19.32 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.703e-05/0.8463, allocations: 26.95 kB / 0.9538 GB, free: 19.29 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.8465, allocations: 146.9 kB / 0.9539 GB, free: 19.2 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.241e-05/0.8465, allocations: 47.94 kB / 0.9539 GB, free: 19.17 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.415e-05/0.8466, allocations: 45.53 kB / 0.954 GB, free: 19.15 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.8468, allocations: 340.2 kB / 0.9543 GB, free: 18.83 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001719/0.8469, allocations: 68.52 kB / 0.9544 GB, free: 18.83 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002379/0.8472, allocations: 148.7 kB / 0.9545 GB, free: 18.75 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003704/0.8476, allocations: 217 kB / 0.9547 GB, free: 18.67 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.8476, allocations: 1.188 kB / 0.9547 GB, free: 18.67 MB / 0.7481 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005236/0.8481, allocations: 242.3 kB / 0.955 GB, free: 18.62 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.8481, allocations: 5.062 kB / 0.955 GB, free: 18.62 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.8482, allocations: 6.656 kB / 0.955 GB, free: 18.62 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.8482, allocations: 3.719 kB / 0.955 GB, free: 18.62 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001978/0.8484, allocations: 39.64 kB / 0.955 GB, free: 18.62 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.8484, allocations: 3.469 kB / 0.955 GB, free: 18.62 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002021/0.8486, allocations: 30.88 kB / 0.955 GB, free: 18.61 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.745e-05/0.8486, allocations: 9.844 kB / 0.955 GB, free: 18.61 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.0001547/0.8488, allocations: 152.8 kB / 0.9552 GB, free: 18.49 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001417/0.849, allocations: 26.27 kB / 0.9552 GB, free: 18.48 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004668/0.8494, allocations: 192 kB / 0.9554 GB, free: 18.41 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.8494, allocations: 6.875 kB / 0.9554 GB, free: 18.41 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.8495, allocations: 1.594 kB / 0.9554 GB, free: 18.41 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.8495, allocations: 0.9375 kB / 0.9554 GB, free: 18.41 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009804/0.8505, allocations: 0.8559 MB / 0.9562 GB, free: 17.76 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.8505, allocations: 1.938 kB / 0.9562 GB, free: 17.76 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001205/0.8506, allocations: 24.58 kB / 0.9563 GB, free: 17.76 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.081e-06/0.8506, allocations: 7.844 kB / 0.9563 GB, free: 17.76 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.8506, allocations: 3.594 kB / 0.9563 GB, free: 17.76 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.8506, allocations: 1.406 kB / 0.9563 GB, free: 17.76 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.8506, allocations: 4.844 kB / 0.9563 GB, free: 17.76 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005736/0.8512, allocations: 335.6 kB / 0.9566 GB, free: 17.57 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.8513, allocations: 116.1 kB / 0.9567 GB, free: 17.46 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.365e-05/0.8514, allocations: 7.734 kB / 0.9567 GB, free: 17.46 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001635/0.8516, allocations: 22.56 kB / 0.9567 GB, free: 17.45 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.885e-05/0.8516, allocations: 7.25 kB / 0.9568 GB, free: 17.45 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.8516, allocations: 6.938 kB / 0.9568 GB, free: 17.45 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002759/0.8519, allocations: 235.3 kB / 0.957 GB, free: 17.37 MB / 0.7481 GB Notification: Performance of sort global known variables: time 9.11e-07/0.8519, allocations: 0 / 0.957 GB, free: 17.37 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005852/0.8525, allocations: 95.56 kB / 0.9571 GB, free: 17.36 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.0006267/0.8531, allocations: 222.8 kB / 0.9573 GB, free: 17.25 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000476/0.8536, allocations: 151.2 kB / 0.9574 GB, free: 17.24 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.8536, allocations: 0 / 0.9574 GB, free: 17.24 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001689/0.8538, allocations: 65.25 kB / 0.9575 GB, free: 17.24 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008136/0.8546, allocations: 139.2 kB / 0.9576 GB, free: 17.22 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009617/0.8556, allocations: 0.5829 MB / 0.9582 GB, free: 16.82 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003931/0.856, allocations: 0.7603 MB / 0.9589 GB, free: 16.12 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.965e-05/0.8561, allocations: 24.69 kB / 0.959 GB, free: 16.11 MB / 0.7481 GB Notification: Performance of SimCode: time 4.11e-07/0.8561, allocations: 0.6875 kB / 0.959 GB, free: 16.11 MB / 0.7481 GB Notification: Performance of Templates: time 0.008521/0.8646, allocations: 5.234 MB / 0.9641 GB, free: 15.62 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)