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.001034/0.001034, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001057/0.001057, allocations: 192 kB / 16.25 MB, free: 6.617 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.548/1.548, allocations: 205.1 MB / 222.1 MB, free: 4.711 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.73/1.73, allocations: 292.2 MB / 0.5485 GB, free: 13.67 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.001546/0.001546, allocations: 68.02 kB / 0.671 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.339/0.3406, allocations: 114.6 MB / 0.7828 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.7913/1.132, allocations: 167.2 MB / 0.9461 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.008139/1.14, allocations: 7.095 MB / 0.953 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007679/1.141, allocations: 11.78 kB / 0.953 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0006795/1.142, allocations: 144.7 kB / 0.9532 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.004095/1.146, allocations: 1.183 MB / 0.9543 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002793/1.149, allocations: 0.5831 MB / 0.9549 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001684/1.15, allocations: 0.7566 MB / 0.9556 GB, free: 5.699 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005821/1.151, allocations: 292.1 kB / 0.9559 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001603/1.152, allocations: 0.5549 MB / 0.9564 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001055/1.154, allocations: 443.9 kB / 0.9569 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.683e-05/1.154, allocations: 25.88 kB / 0.9569 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003082/1.157, allocations: 1.305 MB / 0.9582 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002145/1.157, allocations: 119.9 kB / 0.9583 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003508/1.157, allocations: 178.3 kB / 0.9585 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002598/1.16, allocations: 0.9866 MB / 0.9594 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/1.16, allocations: 0.5312 kB / 0.9594 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.364e-06/1.16, allocations: 0.5625 kB / 0.9594 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.357e-06/1.16, allocations: 3.938 kB / 0.9594 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.001592/1.162, allocations: 0.6934 MB / 0.9601 GB, free: 21.08 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.166e-05/1.162, allocations: 10.39 kB / 0.9601 GB, free: 21.08 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001095/1.163, allocations: 134.1 kB / 0.9602 GB, free: 21.06 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004499/1.163, allocations: 326.8 kB / 0.9605 GB, free: 20.82 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.388e-05/1.163, allocations: 49.39 kB / 0.9606 GB, free: 20.79 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.836e-05/1.163, allocations: 24.66 kB / 0.9606 GB, free: 20.79 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006632/1.164, allocations: 370 kB / 0.961 GB, free: 20.72 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/1.164, allocations: 4 kB / 0.961 GB, free: 20.71 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.499e-05/1.164, allocations: 13.59 kB / 0.961 GB, free: 20.71 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/1.164, allocations: 7.094 kB / 0.961 GB, free: 20.71 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000507/1.165, allocations: 273.3 kB / 0.9613 GB, free: 20.71 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.001895/1.166, allocations: 1.495 MB / 0.9627 GB, free: 19.72 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003879/1.167, allocations: 197.4 kB / 0.9629 GB, free: 19.7 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002059/1.167, allocations: 117.6 kB / 0.963 GB, free: 19.68 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001096/1.168, allocations: 0.5026 MB / 0.9635 GB, free: 19.21 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/1.168, allocations: 36.75 kB / 0.9635 GB, free: 19.17 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=15): time 2.575e-06/1.168, allocations: 0 / 0.9635 GB, free: 19.17 MB / 0.7481 GB Notification: Performance of matching and sorting (n=15): time 0.0009477/1.169, allocations: 356.4 kB / 0.9639 GB, free: 19.12 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.866e-05/1.169, allocations: 53.88 kB / 0.9639 GB, free: 19.06 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003248/1.17, allocations: 314.9 kB / 0.9642 GB, free: 18.95 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.514e-05/1.17, allocations: 31.33 kB / 0.9643 GB, free: 18.91 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001329/1.17, allocations: 186.4 kB / 0.9644 GB, free: 18.8 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.706e-05/1.17, allocations: 54.77 kB / 0.9645 GB, free: 18.77 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.866e-05/1.17, allocations: 40.05 kB / 0.9645 GB, free: 18.75 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001609/1.17, allocations: 341.6 kB / 0.9649 GB, free: 18.44 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001937/1.17, allocations: 91 kB / 0.9649 GB, free: 18.44 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002426/1.171, allocations: 145.9 kB / 0.9651 GB, free: 18.38 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004421/1.171, allocations: 241 kB / 0.9653 GB, free: 18.32 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/1.171, allocations: 3.938 kB / 0.9653 GB, free: 18.32 MB / 0.7481 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006033/1.172, allocations: 291.4 kB / 0.9656 GB, free: 18.27 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/1.172, allocations: 6.062 kB / 0.9656 GB, free: 18.27 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/1.172, allocations: 1.125 kB / 0.9656 GB, free: 18.27 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/1.172, allocations: 2.688 kB / 0.9656 GB, free: 18.27 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002456/1.172, allocations: 40.73 kB / 0.9656 GB, free: 18.27 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/1.172, allocations: 5.922 kB / 0.9656 GB, free: 18.27 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002809/1.172, allocations: 39.77 kB / 0.9657 GB, free: 18.25 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.517e-05/1.172, allocations: 16.47 kB / 0.9657 GB, free: 18.25 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.000182/1.172, allocations: 154.7 kB / 0.9658 GB, free: 18.13 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/1.173, allocations: 29.39 kB / 0.9659 GB, free: 18.12 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007341/1.173, allocations: 326.5 kB / 0.9662 GB, free: 18.06 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/1.173, allocations: 1.156 kB / 0.9662 GB, free: 18.06 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/1.173, allocations: 1.25 kB / 0.9662 GB, free: 18.06 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/1.173, allocations: 0 / 0.9662 GB, free: 18.06 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00134/1.175, allocations: 0.8014 MB / 0.967 GB, free: 17.7 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/1.175, allocations: 2.25 kB / 0.967 GB, free: 17.7 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001802/1.175, allocations: 36.77 kB / 0.967 GB, free: 17.7 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/1.175, allocations: 5.188 kB / 0.967 GB, free: 17.7 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.214e-05/1.175, allocations: 9.719 kB / 0.967 GB, free: 17.69 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/1.175, allocations: 4.234 kB / 0.967 GB, free: 17.69 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/1.175, allocations: 6.156 kB / 0.967 GB, free: 17.69 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005573/1.176, allocations: 400.6 kB / 0.9674 GB, free: 17.48 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001439/1.176, allocations: 131.6 kB / 0.9675 GB, free: 17.37 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.855e-05/1.176, allocations: 14.08 kB / 0.9676 GB, free: 17.37 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002569/1.176, allocations: 15.58 kB / 0.9676 GB, free: 17.37 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.431e-05/1.176, allocations: 27.98 kB / 0.9676 GB, free: 17.36 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.859e-05/1.176, allocations: 12.41 kB / 0.9676 GB, free: 17.36 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000224/1.176, allocations: 229.1 kB / 0.9678 GB, free: 17.27 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/1.176, allocations: 1.094 kB / 0.9678 GB, free: 17.27 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006861/1.177, allocations: 121.4 kB / 0.9679 GB, free: 17.26 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.0006016/1.178, allocations: 235.7 kB / 0.9682 GB, free: 17.14 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000525/1.178, allocations: 226.3 kB / 0.9684 GB, free: 17.14 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.656e-06/1.178, allocations: 1.125 kB / 0.9684 GB, free: 17.14 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002333/1.178, allocations: 115.4 kB / 0.9685 GB, free: 17.14 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009067/1.179, allocations: 166.5 kB / 0.9687 GB, free: 17.11 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001199/1.181, allocations: 0.7042 MB / 0.9693 GB, free: 16.69 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004009/1.181, allocations: 0.7904 MB / 0.9701 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.00032/1.181, allocations: 82.91 kB / 0.9702 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.18e-05/1.181, allocations: 26.84 kB / 0.9702 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of SimCode: time 2.465e-06/1.181, allocations: 0 / 0.9702 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of Templates: time 0.01438/1.196, allocations: 7.209 MB / 0.9773 GB, free: 15.46 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)