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.001274/0.001274, allocations: 105.3 kB / 16.36 MB, free: 6.309 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.001287/0.001287, allocations: 192.1 kB / 17.29 MB, free: 5.875 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.404/1.404, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.798/1.798, allocations: 292.3 MB / 0.5496 GB, free: 17.5 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.002031/0.002031, allocations: 72.45 kB / 0.6729 GB, free: 5.852 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2546/0.2567, allocations: 114.6 MB / 0.7848 GB, free: 3.184 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.6188/0.8755, allocations: 163.2 MB / 0.9442 GB, free: 6.816 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.005888/0.8814, allocations: 4.589 MB / 0.9487 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004518/0.8819, allocations: 7.938 kB / 0.9487 GB, free: 2.215 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0004852/0.8825, allocations: 123.1 kB / 0.9488 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001457/0.884, allocations: 0.5406 MB / 0.9493 GB, free: 1.551 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002069/0.8861, allocations: 0.7607 MB / 0.9501 GB, free: 0.7891 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0007693/0.8869, allocations: 0.5782 MB / 0.9506 GB, free: 216 kB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000362/0.8872, allocations: 217 kB / 0.9508 GB, free: 4 kB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001024/0.8883, allocations: 462.2 kB / 0.9513 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006508/0.8889, allocations: 290.9 kB / 0.9516 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 3.606e-05/0.889, allocations: 20 kB / 0.9516 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001759/0.8907, allocations: 1.005 MB / 0.9526 GB, free: 14.24 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001108/0.8909, allocations: 83.78 kB / 0.9526 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001355/0.891, allocations: 127.3 kB / 0.9528 GB, free: 14.03 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001172/0.8922, allocations: 0.713 MB / 0.9534 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.8922, allocations: 0 / 0.9534 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.735e-06/0.8922, allocations: 3.984 kB / 0.9535 GB, free: 13.31 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.128e-05/0.8922, allocations: 4 kB / 0.9535 GB, free: 13.31 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.000881/0.8931, allocations: 0.5908 MB / 0.954 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.8932, allocations: 8.031 kB / 0.954 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000641/0.8938, allocations: 83.48 kB / 0.9541 GB, free: 12.58 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004119/0.8942, allocations: 300.6 kB / 0.9544 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.8943, allocations: 12 kB / 0.9544 GB, free: 12.24 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.478e-05/0.8943, allocations: 20 kB / 0.9544 GB, free: 12.22 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004977/0.8948, allocations: 296.8 kB / 0.9547 GB, free: 11.9 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.8948, allocations: 0 / 0.9547 GB, free: 11.9 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.461e-05/0.8949, allocations: 8 kB / 0.9547 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.8949, allocations: 7.938 kB / 0.9547 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004457/0.8953, allocations: 204.7 kB / 0.9549 GB, free: 11.69 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001579/0.8969, allocations: 1.237 MB / 0.9561 GB, free: 10.37 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002939/0.8972, allocations: 180.9 kB / 0.9563 GB, free: 10.15 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002073/0.8974, allocations: 117 kB / 0.9564 GB, free: 10.02 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007536/0.8982, allocations: 331.2 kB / 0.9567 GB, free: 9.641 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.8983, allocations: 44.09 kB / 0.9568 GB, free: 9.59 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=13): time 2.014e-06/0.8983, allocations: 0 / 0.9568 GB, free: 9.59 MB / 0.7481 GB Notification: Performance of matching and sorting (n=13): time 0.0007922/0.8991, allocations: 281.4 kB / 0.9571 GB, free: 9.309 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/0.8992, allocations: 154.2 kB / 0.9572 GB, free: 9.121 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002931/0.8995, allocations: 283 kB / 0.9575 GB, free: 8.84 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.806e-05/0.8995, allocations: 33.7 kB / 0.9575 GB, free: 8.801 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/0.8996, allocations: 153.2 kB / 0.9576 GB, free: 8.648 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.296e-05/0.8997, allocations: 47.3 kB / 0.9577 GB, free: 8.602 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.777e-05/0.8998, allocations: 37.83 kB / 0.9577 GB, free: 8.559 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.8999, allocations: 346.8 kB / 0.9581 GB, free: 8.211 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001611/0.9001, allocations: 63.95 kB / 0.9581 GB, free: 8.148 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002557/0.9004, allocations: 149.2 kB / 0.9583 GB, free: 7.973 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003707/0.9007, allocations: 211.5 kB / 0.9585 GB, free: 7.738 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.9008, allocations: 4 kB / 0.9585 GB, free: 7.734 MB / 0.7481 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005122/0.9013, allocations: 238.9 kB / 0.9587 GB, free: 7.496 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.9013, allocations: 12.81 kB / 0.9587 GB, free: 7.484 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.301e-06/0.9013, allocations: 0 / 0.9587 GB, free: 7.484 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.9013, allocations: 4 kB / 0.9587 GB, free: 7.48 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002042/0.9016, allocations: 39.97 kB / 0.9587 GB, free: 7.441 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.9016, allocations: 7.938 kB / 0.9588 GB, free: 7.434 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001996/0.9018, allocations: 28.48 kB / 0.9588 GB, free: 7.406 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.818e-05/0.9018, allocations: 18.28 kB / 0.9588 GB, free: 7.391 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.0001475/0.902, allocations: 145.8 kB / 0.9589 GB, free: 7.238 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001548/0.9021, allocations: 31.72 kB / 0.959 GB, free: 7.207 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005156/0.9027, allocations: 188.4 kB / 0.9591 GB, free: 7.012 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.9027, allocations: 4.031 kB / 0.9592 GB, free: 7.008 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.9027, allocations: 4 kB / 0.9592 GB, free: 7.004 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/0.9027, allocations: 3.984 kB / 0.9592 GB, free: 7 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001024/0.9037, allocations: 0.847 MB / 0.96 GB, free: 6.078 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.217e-06/0.9037, allocations: 4 kB / 0.96 GB, free: 6.074 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001299/0.9039, allocations: 23.97 kB / 0.96 GB, free: 6.051 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/0.9039, allocations: 7.938 kB / 0.96 GB, free: 6.043 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/0.9039, allocations: 4 kB / 0.96 GB, free: 6.039 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.9039, allocations: 7.938 kB / 0.96 GB, free: 6.031 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.99e-06/0.9039, allocations: 6 kB / 0.96 GB, free: 6.027 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005536/0.9045, allocations: 337.5 kB / 0.9604 GB, free: 5.668 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.9046, allocations: 120.8 kB / 0.9605 GB, free: 5.531 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.864e-05/0.9047, allocations: 4 kB / 0.9605 GB, free: 5.527 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001505/0.9048, allocations: 7.984 kB / 0.9605 GB, free: 5.52 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.011e-05/0.9049, allocations: 15.98 kB / 0.9605 GB, free: 5.504 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.637e-06/0.9049, allocations: 4 kB / 0.9605 GB, free: 5.5 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002337/0.9051, allocations: 229.9 kB / 0.9607 GB, free: 5.273 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.81e-07/0.9051, allocations: 0 / 0.9607 GB, free: 5.273 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004655/0.9056, allocations: 95.94 kB / 0.9608 GB, free: 5.18 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.0005997/0.9062, allocations: 225.8 kB / 0.961 GB, free: 4.965 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004163/0.9066, allocations: 144 kB / 0.9612 GB, free: 4.824 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.9066, allocations: 4 kB / 0.9612 GB, free: 4.82 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001471/0.9068, allocations: 59.89 kB / 0.9612 GB, free: 4.762 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007865/0.9076, allocations: 139.5 kB / 0.9614 GB, free: 4.641 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008689/0.9085, allocations: 0.5219 MB / 0.9619 GB, free: 4.07 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003229/0.9088, allocations: 0.7558 MB / 0.9626 GB, free: 3.289 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.062e-05/0.9089, allocations: 31.44 kB / 0.9626 GB, free: 3.258 MB / 0.7481 GB Notification: Performance of SimCode: time 2.4e-07/0.9089, allocations: 0 / 0.9626 GB, free: 3.258 MB / 0.7481 GB Notification: Performance of Templates: time 0.008215/0.9171, allocations: 5.221 MB / 0.9677 GB, free: 14.15 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)