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.001634/0.001641, allocations: 104.6 kB / 16.27 MB, free: 6.418 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.001941/0.001941, allocations: 191.8 kB / 17.2 MB, free: 5.953 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.36/1.36, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.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.803/1.803, allocations: 292.3 MB / 0.5495 GB, free: 17.51 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.00161/0.00161, allocations: 63.91 kB / 0.6722 GB, free: 6.551 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.2342, allocations: 114.6 MB / 0.784 GB, free: 3.875 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.5084/0.7426, allocations: 163.2 MB / 0.9434 GB, free: 7.328 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.005376/0.748, allocations: 4.587 MB / 0.9479 GB, free: 2.734 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003428/0.7484, allocations: 7.938 kB / 0.9479 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0004428/0.7488, allocations: 127.1 kB / 0.948 GB, free: 2.602 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001248/0.7501, allocations: 0.5424 MB / 0.9486 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001612/0.7518, allocations: 0.759 MB / 0.9493 GB, free: 1.301 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000574/0.7524, allocations: 0.5808 MB / 0.9499 GB, free: 0.7188 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000319/0.7527, allocations: 213.1 kB / 0.9501 GB, free: 0.5117 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008785/0.7536, allocations: 466.2 kB / 0.9505 GB, free: 56 kB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000516/0.7541, allocations: 286.9 kB / 0.9508 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 3.29e-05/0.7541, allocations: 16 kB / 0.9508 GB, free: 15.76 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001498/0.7557, allocations: 1.002 MB / 0.9518 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 9.542e-05/0.7558, allocations: 87.78 kB / 0.9519 GB, free: 14.67 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001341/0.7559, allocations: 123.4 kB / 0.952 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.000957/0.7569, allocations: 0.7208 MB / 0.9527 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.7569, allocations: 0 / 0.9527 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.433e-06/0.7569, allocations: 0 / 0.9527 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 6.052e-06/0.7569, allocations: 0 / 0.9527 GB, free: 13.82 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.0008781/0.7578, allocations: 0.5869 MB / 0.9533 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.7578, allocations: 8.031 kB / 0.9533 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000653/0.7585, allocations: 79.5 kB / 0.9534 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003833/0.7589, allocations: 287.3 kB / 0.9536 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.123e-05/0.7589, allocations: 20 kB / 0.9536 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.509e-05/0.759, allocations: 16 kB / 0.9537 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000489/0.7595, allocations: 290.2 kB / 0.9539 GB, free: 12.44 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.7595, allocations: 4 kB / 0.9539 GB, free: 12.44 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.461e-05/0.7595, allocations: 12 kB / 0.954 GB, free: 12.43 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.7595, allocations: 7.938 kB / 0.954 GB, free: 12.42 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004231/0.76, allocations: 204.7 kB / 0.9542 GB, free: 12.22 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001551/0.7615, allocations: 1.253 MB / 0.9554 GB, free: 10.89 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002843/0.7618, allocations: 173 kB / 0.9555 GB, free: 10.67 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002084/0.762, allocations: 112.4 kB / 0.9557 GB, free: 10.55 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007488/0.7628, allocations: 335.2 kB / 0.956 GB, free: 10.16 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/0.7628, allocations: 34.56 kB / 0.956 GB, free: 10.12 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=13): time 1.783e-06/0.7629, allocations: 0 / 0.956 GB, free: 10.12 MB / 0.7481 GB Notification: Performance of matching and sorting (n=13): time 0.0007494/0.7636, allocations: 282.8 kB / 0.9563 GB, free: 9.84 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.68e-05/0.7637, allocations: 154.2 kB / 0.9564 GB, free: 9.652 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000275/0.764, allocations: 294.9 kB / 0.9567 GB, free: 9.359 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.315e-05/0.764, allocations: 26.2 kB / 0.9567 GB, free: 9.328 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.7641, allocations: 159.8 kB / 0.9569 GB, free: 9.168 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.908e-05/0.7642, allocations: 43.3 kB / 0.9569 GB, free: 9.125 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.522e-05/0.7643, allocations: 41.7 kB / 0.957 GB, free: 9.078 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.7644, allocations: 338.8 kB / 0.9573 GB, free: 8.738 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000163/0.7646, allocations: 63.95 kB / 0.9573 GB, free: 8.676 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002342/0.7648, allocations: 149.3 kB / 0.9575 GB, free: 8.5 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003742/0.7652, allocations: 214.5 kB / 0.9577 GB, free: 8.266 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.7652, allocations: 0 / 0.9577 GB, free: 8.266 MB / 0.7481 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005127/0.7657, allocations: 241.1 kB / 0.9579 GB, free: 8.023 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.7658, allocations: 9.719 kB / 0.9579 GB, free: 8.016 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.7658, allocations: 0 / 0.9579 GB, free: 8.016 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.7658, allocations: 7.984 kB / 0.9579 GB, free: 8.008 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001891/0.766, allocations: 35.92 kB / 0.958 GB, free: 7.973 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.766, allocations: 4 kB / 0.958 GB, free: 7.969 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001835/0.7662, allocations: 34.02 kB / 0.958 GB, free: 7.938 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.748e-05/0.7662, allocations: 12 kB / 0.958 GB, free: 7.926 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.0001362/0.7664, allocations: 157.7 kB / 0.9582 GB, free: 7.762 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001453/0.7665, allocations: 27.72 kB / 0.9582 GB, free: 7.734 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004629/0.767, allocations: 185.5 kB / 0.9584 GB, free: 7.539 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.767, allocations: 0 / 0.9584 GB, free: 7.539 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.767, allocations: 9.922 kB / 0.9584 GB, free: 7.531 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.767, allocations: 0 / 0.9584 GB, free: 7.531 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000947/0.768, allocations: 0.8548 MB / 0.9592 GB, free: 6.602 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.768, allocations: 4 kB / 0.9592 GB, free: 6.598 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001185/0.7681, allocations: 23.92 kB / 0.9592 GB, free: 6.574 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.673e-06/0.7681, allocations: 7.938 kB / 0.9593 GB, free: 6.566 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.7681, allocations: 4.156 kB / 0.9593 GB, free: 6.562 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.7682, allocations: 4 kB / 0.9593 GB, free: 6.559 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.7682, allocations: 0 / 0.9593 GB, free: 6.559 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005716/0.7687, allocations: 339.4 kB / 0.9596 GB, free: 6.195 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 9.172e-05/0.7688, allocations: 110.7 kB / 0.9597 GB, free: 6.07 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.355e-05/0.7689, allocations: 7.938 kB / 0.9597 GB, free: 6.062 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001593/0.7691, allocations: 11.98 kB / 0.9597 GB, free: 6.051 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.681e-05/0.7691, allocations: 15.92 kB / 0.9597 GB, free: 6.035 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.814e-06/0.7691, allocations: 5.594 kB / 0.9597 GB, free: 6.031 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002477/0.7694, allocations: 238 kB / 0.96 GB, free: 5.797 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7694, allocations: 0 / 0.96 GB, free: 5.797 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000468/0.7699, allocations: 91.94 kB / 0.96 GB, free: 5.707 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.0005278/0.7704, allocations: 221.2 kB / 0.9603 GB, free: 5.488 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004005/0.7708, allocations: 157.4 kB / 0.9604 GB, free: 5.34 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.7708, allocations: 4 kB / 0.9604 GB, free: 5.336 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001523/0.771, allocations: 56.72 kB / 0.9605 GB, free: 5.281 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000765/0.7718, allocations: 136.7 kB / 0.9606 GB, free: 5.164 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008021/0.7726, allocations: 0.5255 MB / 0.9611 GB, free: 4.59 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003129/0.7729, allocations: 0.7558 MB / 0.9618 GB, free: 3.809 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.753e-05/0.773, allocations: 23.44 kB / 0.9619 GB, free: 3.785 MB / 0.7481 GB Notification: Performance of SimCode: time 1.903e-06/0.773, allocations: 4 kB / 0.9619 GB, free: 3.781 MB / 0.7481 GB Notification: Performance of Templates: time 0.007822/0.7808, allocations: 5.242 MB / 0.967 GB, free: 14.66 MB / 0.7637 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)