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.001132/0.001132, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001195/0.001194, allocations: 191.8 kB / 16.53 MB, free: 6.664 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.594/1.594, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.842/1.842, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.002511/0.002512, allocations: 77.98 kB / 0.6715 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2751/0.2777, allocations: 114.6 MB / 0.7834 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.7514/1.029, allocations: 163.2 MB / 0.9428 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.006462/1.036, allocations: 4.588 MB / 0.9472 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006286/1.036, allocations: 10.16 kB / 0.9472 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005318/1.037, allocations: 126 kB / 0.9474 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00165/1.039, allocations: 0.5377 MB / 0.9479 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002316/1.041, allocations: 0.7627 MB / 0.9486 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0008717/1.042, allocations: 0.5758 MB / 0.9492 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004221/1.042, allocations: 213.4 kB / 0.9494 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001114/1.043, allocations: 465.1 kB / 0.9498 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006573/1.044, allocations: 293.1 kB / 0.9501 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.723e-05/1.044, allocations: 21.84 kB / 0.9501 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002131/1.046, allocations: 0.9995 MB / 0.9511 GB, free: 1 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001147/1.046, allocations: 87.75 kB / 0.9512 GB, free: 1 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.00016/1.047, allocations: 124.5 kB / 0.9513 GB, free: 1 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001163/1.048, allocations: 0.7177 MB / 0.952 GB, free: 0.9492 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/1.048, allocations: 1.125 kB / 0.952 GB, free: 0.9492 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.523e-06/1.048, allocations: 1.203 kB / 0.952 GB, free: 0.9492 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.261e-05/1.048, allocations: 0 / 0.952 GB, free: 0.9492 MB / 0.7169 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.001117/1.049, allocations: 0.5911 MB / 0.9526 GB, free: 16.49 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/1.049, allocations: 10.06 kB / 0.9526 GB, free: 16.49 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007074/1.05, allocations: 83.34 kB / 0.9527 GB, free: 16.47 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004032/1.05, allocations: 281 kB / 0.953 GB, free: 16.24 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.397e-05/1.05, allocations: 14.66 kB / 0.953 GB, free: 16.24 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.34e-05/1.05, allocations: 20.78 kB / 0.953 GB, free: 16.24 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005218/1.051, allocations: 286.1 kB / 0.9533 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/1.051, allocations: 5.25 kB / 0.9533 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.595e-05/1.051, allocations: 6.125 kB / 0.9533 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-06/1.051, allocations: 7.875 kB / 0.9533 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004397/1.051, allocations: 205.4 kB / 0.9535 GB, free: 16.13 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00162/1.053, allocations: 1.256 MB / 0.9547 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002587/1.053, allocations: 173 kB / 0.9549 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001877/1.053, allocations: 113.4 kB / 0.955 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007573/1.054, allocations: 332.6 kB / 0.9553 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/1.054, allocations: 38.38 kB / 0.9553 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=13): time 1.763e-06/1.054, allocations: 0 / 0.9553 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13): time 0.000755/1.055, allocations: 277.3 kB / 0.9556 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/1.055, allocations: 164.6 kB / 0.9558 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000312/1.055, allocations: 282.4 kB / 0.956 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.01e-05/1.055, allocations: 31.64 kB / 0.9561 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/1.055, allocations: 147 kB / 0.9562 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.353e-05/1.056, allocations: 47.88 kB / 0.9562 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.146e-05/1.056, allocations: 45.5 kB / 0.9563 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001378/1.056, allocations: 340.4 kB / 0.9566 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001692/1.056, allocations: 73 kB / 0.9567 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002342/1.056, allocations: 148.2 kB / 0.9568 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003798/1.057, allocations: 215.9 kB / 0.957 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/1.057, allocations: 0 / 0.957 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000524/1.057, allocations: 242.3 kB / 0.9573 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/1.057, allocations: 6.156 kB / 0.9573 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/1.057, allocations: 2.781 kB / 0.9573 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/1.057, allocations: 3.562 kB / 0.9573 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001946/1.057, allocations: 46.47 kB / 0.9573 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/1.057, allocations: 2.562 kB / 0.9573 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002065/1.058, allocations: 27.22 kB / 0.9573 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.942e-05/1.058, allocations: 15.14 kB / 0.9574 GB, free: 13.68 MB / 0.7325 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.0001405/1.058, allocations: 148.4 kB / 0.9575 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001556/1.058, allocations: 26.89 kB / 0.9575 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004773/1.058, allocations: 184.9 kB / 0.9577 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/1.058, allocations: 3.797 kB / 0.9577 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/1.058, allocations: 7.344 kB / 0.9577 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/1.058, allocations: 1.531 kB / 0.9577 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009775/1.059, allocations: 0.855 MB / 0.9585 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/1.059, allocations: 1.281 kB / 0.9586 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001168/1.06, allocations: 22.33 kB / 0.9586 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.271e-06/1.06, allocations: 9.438 kB / 0.9586 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.467e-05/1.06, allocations: 2.844 kB / 0.9586 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/1.06, allocations: 1.562 kB / 0.9586 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.06, allocations: 2 kB / 0.9586 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005739/1.06, allocations: 339.9 kB / 0.9589 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/1.06, allocations: 112 kB / 0.959 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.783e-05/1.06, allocations: 17.36 kB / 0.959 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001517/1.061, allocations: 10.11 kB / 0.959 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.823e-05/1.061, allocations: 11.03 kB / 0.9591 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/1.061, allocations: 4.125 kB / 0.9591 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002361/1.061, allocations: 238.4 kB / 0.9593 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/1.061, allocations: 0 / 0.9593 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005619/1.061, allocations: 96.92 kB / 0.9594 GB, free: 12.41 MB / 0.7325 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.0005704/1.062, allocations: 223.5 kB / 0.9596 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004113/1.062, allocations: 147.4 kB / 0.9597 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/1.062, allocations: 6.703 kB / 0.9597 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001463/1.063, allocations: 64.78 kB / 0.9598 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007674/1.063, allocations: 137.1 kB / 0.9599 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008783/1.064, allocations: 0.5066 MB / 0.9604 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003458/1.065, allocations: 0.7616 MB / 0.9612 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000217/1.065, allocations: 63.84 kB / 0.9612 GB, free: 11.22 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.579e-05/1.065, allocations: 23.03 kB / 0.9613 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of SimCode: time 3.21e-07/1.065, allocations: 0 / 0.9613 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of Templates: time 0.01099/1.076, allocations: 5.817 MB / 0.9669 GB, free: 10.36 MB / 0.7325 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)