Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001017/0.001017, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.008499/0.008499, allocations: 169.4 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 223.3 MB / 240.3 MB, free: 5.238 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001865/0.001865, allocations: 278.5 kB / 291.7 MB, free: 1.766 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9468/0.9468, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004222/0.0004222, allocations: 10.75 kB / 0.5986 GB, free: 28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1735/0.174, allocations: 88.55 MB / 0.6851 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate): time 0.5352/0.7092, allocations: 165 MB / 0.8463 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008177/0.7174, allocations: 7.105 MB / 0.8532 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004281/0.7179, allocations: 13.69 kB / 0.8532 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004635/0.7183, allocations: 137.9 kB / 0.8533 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00267/0.721, allocations: 1.187 MB / 0.8545 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001395/0.7224, allocations: 0.5707 MB / 0.8551 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009195/0.7233, allocations: 1.047 MB / 0.8561 GB, free: 9.953 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003589/0.7237, allocations: 251 kB / 0.8563 GB, free: 9.801 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009616/0.7247, allocations: 0.5153 MB / 0.8568 GB, free: 9.496 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006998/0.7254, allocations: 422.1 kB / 0.8572 GB, free: 9.273 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.61e-05/0.7254, allocations: 13.12 kB / 0.8572 GB, free: 9.273 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001983/0.7274, allocations: 1.478 MB / 0.8587 GB, free: 8.414 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001199/0.7276, allocations: 107.2 kB / 0.8588 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001626/0.7277, allocations: 184.3 kB / 0.859 GB, free: 8.219 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001154/0.7289, allocations: 0.975 MB / 0.8599 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.7289, allocations: 3 kB / 0.8599 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.453e-06/0.7289, allocations: 0 / 0.8599 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.7289, allocations: 0 / 0.8599 GB, free: 7.625 MB / 0.5762 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.0009265/0.7299, allocations: 0.6313 MB / 0.8605 GB, free: 7.059 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.7299, allocations: 10.94 kB / 0.8605 GB, free: 7.059 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009567/0.7309, allocations: 119 kB / 0.8607 GB, free: 7.004 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004009/0.7313, allocations: 329.7 kB / 0.861 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.637e-05/0.7314, allocations: 53.88 kB / 0.861 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.798e-05/0.7314, allocations: 28.69 kB / 0.8611 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006193/0.732, allocations: 373.7 kB / 0.8614 GB, free: 6.406 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.7321, allocations: 0 / 0.8614 GB, free: 6.406 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.255e-05/0.7321, allocations: 10.94 kB / 0.8614 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/0.7321, allocations: 7.969 kB / 0.8614 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000506/0.7326, allocations: 293.4 kB / 0.8617 GB, free: 6.258 MB / 0.5762 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.001715/0.7344, allocations: 1.502 MB / 0.8632 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003717/0.7347, allocations: 201.2 kB / 0.8634 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002053/0.735, allocations: 118.9 kB / 0.8635 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009409/0.7359, allocations: 0.5239 MB / 0.864 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.736, allocations: 37.5 kB / 0.864 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.422e-06/0.736, allocations: 0 / 0.864 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0008884/0.7369, allocations: 374.9 kB / 0.8644 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.906e-05/0.7369, allocations: 58.28 kB / 0.8644 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002826/0.7372, allocations: 312.2 kB / 0.8647 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.39e-05/0.7372, allocations: 29.7 kB / 0.8648 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.7374, allocations: 184.6 kB / 0.8649 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.893e-05/0.7374, allocations: 55.23 kB / 0.865 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.718e-05/0.7375, allocations: 25.02 kB / 0.865 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.7376, allocations: 338.4 kB / 0.8653 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001918/0.7378, allocations: 94.8 kB / 0.8654 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002312/0.738, allocations: 154.7 kB / 0.8656 GB, free: 2.949 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004036/0.7384, allocations: 249.4 kB / 0.8658 GB, free: 2.797 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.7384, allocations: 0 / 0.8658 GB, free: 2.797 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005554/0.739, allocations: 291.9 kB / 0.8661 GB, free: 2.645 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.739, allocations: 8.188 kB / 0.8661 GB, free: 2.645 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.739, allocations: 6.828 kB / 0.8661 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.7391, allocations: 1.812 kB / 0.8661 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002156/0.7393, allocations: 47.59 kB / 0.8662 GB, free: 2.629 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.7393, allocations: 6.719 kB / 0.8662 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002284/0.7395, allocations: 42.58 kB / 0.8662 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.309e-05/0.7396, allocations: 7.875 kB / 0.8662 GB, free: 2.602 MB / 0.5762 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.0001579/0.7397, allocations: 159.1 kB / 0.8664 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.989e-05/0.7398, allocations: 28.91 kB / 0.8664 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006747/0.7405, allocations: 326.1 kB / 0.8667 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.7405, allocations: 0 / 0.8667 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.7406, allocations: 2.969 kB / 0.8667 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.7406, allocations: 5.562 kB / 0.8667 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001198/0.7418, allocations: 0.8181 MB / 0.8675 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.7418, allocations: 2.875 kB / 0.8675 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001719/0.742, allocations: 37.83 kB / 0.8675 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.742, allocations: 6.797 kB / 0.8676 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.944e-05/0.742, allocations: 6.875 kB / 0.8676 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.742, allocations: 12.06 kB / 0.8676 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.742, allocations: 2.75 kB / 0.8676 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005578/0.7426, allocations: 405.7 kB / 0.868 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001289/0.7427, allocations: 135.1 kB / 0.8681 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.434e-05/0.7428, allocations: 15.08 kB / 0.8681 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002608/0.743, allocations: 29.17 kB / 0.8681 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.543e-05/0.7431, allocations: 12.33 kB / 0.8681 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.63e-05/0.7431, allocations: 15.52 kB / 0.8682 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001879/0.7433, allocations: 228.4 kB / 0.8684 GB, free: 0.9609 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7433, allocations: 0 / 0.8684 GB, free: 0.9609 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004892/0.7438, allocations: 125.7 kB / 0.8685 GB, free: 0.9297 MB / 0.5762 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.0005375/0.7444, allocations: 231.9 kB / 0.8687 GB, free: 0.7734 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004773/0.7449, allocations: 230.2 kB / 0.8689 GB, free: 0.6719 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.7449, allocations: 0 / 0.8689 GB, free: 0.6719 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002231/0.7451, allocations: 121.8 kB / 0.8691 GB, free: 0.6211 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000955/0.7461, allocations: 160.4 kB / 0.8692 GB, free: 0.5391 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/0.7471, allocations: 0.7224 MB / 0.8699 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003428/0.7474, allocations: 0.7845 MB / 0.8707 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002871/0.7477, allocations: 93.61 kB / 0.8708 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.541e-05/0.7478, allocations: 30.22 kB / 0.8708 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of SimCode: time 2.044e-06/0.7478, allocations: 0 / 0.8708 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of Templates: time 0.01131/0.7591, allocations: 6.964 MB / 0.8776 GB, free: 10.31 MB / 0.5919 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)