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.001543/0.001543, allocations: 109.4 kB / 15.69 MB, free: 128 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.002056/0.002056, allocations: 189.5 kB / 16.62 MB, free: 6.613 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.598/1.598, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.831/1.831, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001401/0.001401, allocations: 67.17 kB / 0.6723 GB, free: 25.97 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2698/0.2712, allocations: 114.6 MB / 0.7841 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.7674/1.039, allocations: 163.2 MB / 0.9435 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00635/1.045, allocations: 4.581 MB / 0.948 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006023/1.046, allocations: 14.28 kB / 0.948 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005112/1.046, allocations: 127.1 kB / 0.9481 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00163/1.048, allocations: 0.5351 MB / 0.9486 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002358/1.05, allocations: 0.7644 MB / 0.9494 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0008888/1.051, allocations: 0.5822 MB / 0.95 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004014/1.052, allocations: 206.8 kB / 0.9502 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001249/1.053, allocations: 472.2 kB / 0.9506 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000761/1.054, allocations: 293.6 kB / 0.9509 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.488e-05/1.054, allocations: 22 kB / 0.9509 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002433/1.056, allocations: 0.9929 MB / 0.9519 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001325/1.056, allocations: 88.42 kB / 0.952 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001758/1.057, allocations: 126.7 kB / 0.9521 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001427/1.058, allocations: 0.7236 MB / 0.9528 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/1.058, allocations: 0 / 0.9528 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.833e-06/1.058, allocations: 0 / 0.9528 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.836e-06/1.058, allocations: 1.156 kB / 0.9528 GB, free: 1.293 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.001127/1.059, allocations: 0.5963 MB / 0.9534 GB, free: 16.83 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/1.059, allocations: 8.594 kB / 0.9534 GB, free: 16.83 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006962/1.06, allocations: 81.23 kB / 0.9535 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004273/1.06, allocations: 291.8 kB / 0.9537 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2e-05/1.06, allocations: 16.09 kB / 0.9538 GB, free: 16.58 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.038e-05/1.06, allocations: 19.66 kB / 0.9538 GB, free: 16.58 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000492/1.061, allocations: 289.4 kB / 0.954 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/1.061, allocations: 0 / 0.954 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.592e-05/1.061, allocations: 12.16 kB / 0.9541 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-06/1.061, allocations: 9.188 kB / 0.9541 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004179/1.061, allocations: 205.5 kB / 0.9543 GB, free: 16.47 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001544/1.063, allocations: 1.242 MB / 0.9555 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002856/1.063, allocations: 176.4 kB / 0.9556 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002024/1.063, allocations: 113 kB / 0.9558 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007402/1.064, allocations: 330.5 kB / 0.9561 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/1.064, allocations: 45.06 kB / 0.9561 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=13): time 1.292e-06/1.064, allocations: 1.25 kB / 0.9561 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13): time 0.0007494/1.065, allocations: 273.2 kB / 0.9564 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.332e-05/1.065, allocations: 164.8 kB / 0.9565 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003116/1.065, allocations: 281.4 kB / 0.9568 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.605e-05/1.065, allocations: 30.17 kB / 0.9568 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/1.066, allocations: 148.5 kB / 0.957 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.822e-05/1.066, allocations: 46.02 kB / 0.957 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.393e-05/1.066, allocations: 45.38 kB / 0.9571 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001453/1.066, allocations: 340.2 kB / 0.9574 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001641/1.066, allocations: 71.66 kB / 0.9574 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000234/1.066, allocations: 147.5 kB / 0.9576 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000411/1.067, allocations: 215.3 kB / 0.9578 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/1.067, allocations: 1.781 kB / 0.9578 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005228/1.067, allocations: 236.8 kB / 0.958 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/1.067, allocations: 6.719 kB / 0.958 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/1.067, allocations: 3.734 kB / 0.958 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.403e-05/1.067, allocations: 4.094 kB / 0.958 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001996/1.068, allocations: 44.47 kB / 0.9581 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.249e-05/1.068, allocations: 5.016 kB / 0.9581 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001983/1.068, allocations: 29.16 kB / 0.9581 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.689e-05/1.068, allocations: 10.89 kB / 0.9581 GB, free: 14.03 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.0001607/1.068, allocations: 153.4 kB / 0.9583 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001514/1.068, allocations: 23.98 kB / 0.9583 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004902/1.069, allocations: 197 kB / 0.9585 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/1.069, allocations: 2.312 kB / 0.9585 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/1.069, allocations: 5.125 kB / 0.9585 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/1.069, allocations: 1.156 kB / 0.9585 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001079/1.07, allocations: 0.8526 MB / 0.9593 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/1.07, allocations: 6.281 kB / 0.9593 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001319/1.07, allocations: 25.16 kB / 0.9593 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.251e-06/1.07, allocations: 6.094 kB / 0.9594 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/1.07, allocations: 5.375 kB / 0.9594 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/1.07, allocations: 2.531 kB / 0.9594 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/1.07, allocations: 1.344 kB / 0.9594 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006225/1.071, allocations: 341.4 kB / 0.9597 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000135/1.071, allocations: 114.4 kB / 0.9598 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.763e-05/1.071, allocations: 7.625 kB / 0.9598 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001533/1.071, allocations: 10.2 kB / 0.9598 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.508e-05/1.071, allocations: 14.88 kB / 0.9598 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/1.071, allocations: 4.719 kB / 0.9598 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002767/1.071, allocations: 231.5 kB / 0.9601 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/1.071, allocations: 1.094 kB / 0.9601 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005769/1.072, allocations: 100.8 kB / 0.9602 GB, free: 12.75 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.0006016/1.073, allocations: 210.7 kB / 0.9604 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004606/1.073, allocations: 153.8 kB / 0.9605 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/1.073, allocations: 4.062 kB / 0.9605 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001477/1.073, allocations: 59.55 kB / 0.9606 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008204/1.074, allocations: 151 kB / 0.9607 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/1.075, allocations: 0.4937 MB / 0.9612 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003848/1.075, allocations: 0.7572 MB / 0.9619 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002021/1.076, allocations: 72.77 kB / 0.962 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.521e-05/1.076, allocations: 27 kB / 0.962 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/1.076, allocations: 0 / 0.962 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of Templates: time 0.01352/1.089, allocations: 5.803 MB / 0.9677 GB, free: 10.71 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)