Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.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.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 110 kB / 15.99 MB, free: 6.344 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.001049/0.001049, allocations: 199.5 kB / 16.91 MB, free: 6.184 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.458/1.458, allocations: 205.1 MB / 222.8 MB, free: 4.918 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.723/1.723, 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.001385/0.001385, allocations: 72.14 kB / 0.6717 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2567/0.2581, allocations: 114.5 MB / 0.7835 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.7827/1.041, allocations: 167.2 MB / 0.9467 GB, free: 5.914 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.007734/1.049, allocations: 7.087 MB / 0.9537 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006659/1.049, allocations: 13.78 kB / 0.9537 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005838/1.05, allocations: 150.5 kB / 0.9538 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.003606/1.054, allocations: 1.186 MB / 0.955 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002018/1.056, allocations: 0.5794 MB / 0.9556 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001258/1.057, allocations: 0.7626 MB / 0.9563 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005411/1.057, allocations: 284.6 kB / 0.9566 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001413/1.059, allocations: 0.5565 MB / 0.9571 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008821/1.06, allocations: 445.1 kB / 0.9575 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.564e-05/1.06, allocations: 26.89 kB / 0.9576 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002738/1.063, allocations: 1.3 MB / 0.9588 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001879/1.063, allocations: 120.3 kB / 0.9589 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000288/1.063, allocations: 179.1 kB / 0.9591 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001383/1.064, allocations: 0.6342 MB / 0.9597 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/1.064, allocations: 0 / 0.9597 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.824e-06/1.064, allocations: 0.5938 kB / 0.9597 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.338e-06/1.064, allocations: 0 / 0.9597 GB, free: 5.582 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.00153/1.066, allocations: 0.6956 MB / 0.9604 GB, free: 21.08 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.472e-05/1.066, allocations: 10.66 kB / 0.9604 GB, free: 21.08 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001151/1.067, allocations: 127.2 kB / 0.9605 GB, free: 21.06 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004913/1.068, allocations: 325.6 kB / 0.9609 GB, free: 20.83 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.424e-05/1.068, allocations: 55.66 kB / 0.9609 GB, free: 20.79 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.548e-05/1.068, allocations: 24.97 kB / 0.9609 GB, free: 20.79 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006937/1.069, allocations: 366.1 kB / 0.9613 GB, free: 20.72 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/1.069, allocations: 0 / 0.9613 GB, free: 20.72 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.855e-05/1.069, allocations: 16.58 kB / 0.9613 GB, free: 20.71 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.185e-05/1.069, allocations: 12.88 kB / 0.9613 GB, free: 20.71 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005029/1.069, allocations: 272.5 kB / 0.9616 GB, free: 20.7 MB / 0.7481 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001932/1.071, allocations: 1.49 MB / 0.963 GB, free: 19.72 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003891/1.072, allocations: 197.3 kB / 0.9632 GB, free: 19.69 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002055/1.072, allocations: 124.8 kB / 0.9633 GB, free: 19.68 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001087/1.073, allocations: 0.5031 MB / 0.9638 GB, free: 19.21 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.549e-05/1.073, allocations: 42.88 kB / 0.9639 GB, free: 19.17 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=15): time 1.693e-06/1.073, allocations: 0 / 0.9639 GB, free: 19.17 MB / 0.7481 GB Notification: Performance of matching and sorting (n=15): time 0.0009534/1.074, allocations: 355.6 kB / 0.9642 GB, free: 19.12 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.193e-05/1.074, allocations: 55.5 kB / 0.9643 GB, free: 19.06 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003076/1.074, allocations: 321.3 kB / 0.9646 GB, free: 18.94 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.621e-05/1.074, allocations: 30.2 kB / 0.9646 GB, free: 18.91 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001374/1.074, allocations: 183.5 kB / 0.9648 GB, free: 18.8 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.232e-05/1.074, allocations: 46.86 kB / 0.9648 GB, free: 18.77 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.639e-05/1.075, allocations: 41.89 kB / 0.9649 GB, free: 18.75 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001375/1.075, allocations: 340.7 kB / 0.9652 GB, free: 18.44 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001863/1.075, allocations: 85.39 kB / 0.9653 GB, free: 18.44 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000219/1.075, allocations: 149.8 kB / 0.9654 GB, free: 18.38 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003993/1.076, allocations: 235.5 kB / 0.9656 GB, free: 18.32 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/1.076, allocations: 5.281 kB / 0.9656 GB, free: 18.32 MB / 0.7481 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005805/1.076, allocations: 287.3 kB / 0.9659 GB, free: 18.26 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/1.076, allocations: 12.56 kB / 0.9659 GB, free: 18.26 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/1.076, allocations: 2.25 kB / 0.9659 GB, free: 18.26 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/1.076, allocations: 2.125 kB / 0.9659 GB, free: 18.26 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002441/1.076, allocations: 44.58 kB / 0.966 GB, free: 18.26 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/1.076, allocations: 5.375 kB / 0.966 GB, free: 18.26 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002769/1.077, allocations: 33.97 kB / 0.966 GB, free: 18.24 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.275e-05/1.077, allocations: 19.61 kB / 0.966 GB, free: 18.24 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (20): * Single equations (assignments): 20 * 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.0001693/1.077, allocations: 153.2 kB / 0.9662 GB, free: 18.12 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/1.077, allocations: 29.11 kB / 0.9662 GB, free: 18.11 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006901/1.078, allocations: 311.5 kB / 0.9665 GB, free: 18.06 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/1.078, allocations: 5.156 kB / 0.9665 GB, free: 18.05 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/1.078, allocations: 1.125 kB / 0.9665 GB, free: 18.05 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/1.078, allocations: 0 / 0.9665 GB, free: 18.05 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001323/1.079, allocations: 0.8114 MB / 0.9673 GB, free: 17.69 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/1.079, allocations: 2.25 kB / 0.9673 GB, free: 17.69 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001845/1.079, allocations: 31.53 kB / 0.9673 GB, free: 17.69 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/1.079, allocations: 2.531 kB / 0.9673 GB, free: 17.69 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.324e-05/1.079, allocations: 18.83 kB / 0.9673 GB, free: 17.68 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.581e-06/1.079, allocations: 6.5 kB / 0.9673 GB, free: 17.68 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/1.079, allocations: 2.656 kB / 0.9674 GB, free: 17.68 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005959/1.08, allocations: 399 kB / 0.9677 GB, free: 17.47 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001435/1.08, allocations: 135.2 kB / 0.9679 GB, free: 17.36 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.108e-05/1.08, allocations: 10.62 kB / 0.9679 GB, free: 17.36 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002815/1.08, allocations: 22.89 kB / 0.9679 GB, free: 17.36 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.641e-05/1.081, allocations: 12.5 kB / 0.9679 GB, free: 17.36 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.372e-05/1.081, allocations: 19.05 kB / 0.9679 GB, free: 17.36 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002309/1.081, allocations: 226 kB / 0.9681 GB, free: 17.27 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.31e-07/1.081, allocations: 1.75 kB / 0.9681 GB, free: 17.27 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006982/1.082, allocations: 121 kB / 0.9683 GB, free: 17.25 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (16): * Single equations (assignments): 16 * 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.0006307/1.082, allocations: 231.7 kB / 0.9685 GB, free: 17.14 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005255/1.083, allocations: 225.6 kB / 0.9687 GB, free: 17.13 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/1.083, allocations: 0 / 0.9687 GB, free: 17.13 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002346/1.083, allocations: 120.6 kB / 0.9688 GB, free: 17.13 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008927/1.084, allocations: 163.8 kB / 0.969 GB, free: 17.11 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/1.085, allocations: 0.7391 MB / 0.9697 GB, free: 16.65 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004002/1.085, allocations: 0.7909 MB / 0.9705 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/1.086, allocations: 29 kB / 0.9705 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of SimCode: time 2.2e-07/1.086, allocations: 0 / 0.9705 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of Templates: time 0.01031/1.096, allocations: 6.252 MB / 0.9766 GB, free: 15.33 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.makefile (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)