Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.554/2.554, allocations: 287.5 MB / 302.4 MB, free: 8.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001373/0.001373, allocations: 187.2 kB / 371 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.396/2.396, allocations: 205.4 MB / 0.6297 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001038/0.001037, allocations: 93.92 kB / 0.743 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007751/0.0007754, allocations: 16.28 kB / 0.8658 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2674/0.2682, allocations: 115.3 MB / 0.9783 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.9254/1.194, allocations: 153.9 MB / 1.129 GB, free: 0.7109 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.01082/1.205, allocations: 6.644 MB / 1.135 GB, free: 15.44 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007005/1.205, allocations: 12.05 kB / 1.135 GB, free: 15.44 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006459/1.206, allocations: 116.7 kB / 1.135 GB, free: 15.39 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.003729/1.21, allocations: 0.8405 MB / 1.136 GB, free: 15.04 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002163/1.212, allocations: 477.3 kB / 1.137 GB, free: 14.92 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001614/1.214, allocations: 0.9001 MB / 1.137 GB, free: 14.78 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005588/1.214, allocations: 219.7 kB / 1.138 GB, free: 14.75 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001632/1.216, allocations: 475.4 kB / 1.138 GB, free: 14.62 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001194/1.217, allocations: 394.7 kB / 1.138 GB, free: 14.52 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 8.975e-05/1.217, allocations: 15.78 kB / 1.139 GB, free: 14.52 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002485/1.22, allocations: 0.6405 MB / 1.139 GB, free: 14.42 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.000276/1.22, allocations: 106.5 kB / 1.139 GB, free: 14.41 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002033/1.22, allocations: 86.61 kB / 1.139 GB, free: 14.36 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.00168/1.222, allocations: 0.5165 MB / 1.14 GB, free: 14.29 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/1.222, allocations: 4 kB / 1.14 GB, free: 14.28 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.226e-06/1.222, allocations: 0 / 1.14 GB, free: 14.28 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.097e-06/1.222, allocations: 0 / 1.14 GB, free: 14.28 MB / 0.698 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.001429/1.223, allocations: 0.6346 MB / 1.14 GB, free: 13.79 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/1.223, allocations: 12.69 kB / 1.14 GB, free: 13.78 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001454/1.225, allocations: 125.2 kB / 1.141 GB, free: 13.76 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006148/1.226, allocations: 324.2 kB / 1.141 GB, free: 13.52 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001064/1.226, allocations: 50.55 kB / 1.141 GB, free: 13.49 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.008e-05/1.226, allocations: 25.47 kB / 1.141 GB, free: 13.49 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009494/1.227, allocations: 386.8 kB / 1.141 GB, free: 13.39 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/1.227, allocations: 0 / 1.141 GB, free: 13.39 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.723e-05/1.227, allocations: 10.97 kB / 1.141 GB, free: 13.39 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/1.227, allocations: 6.625 kB / 1.141 GB, free: 13.39 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008269/1.228, allocations: 281.1 kB / 1.142 GB, free: 13.39 MB / 0.698 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.002786/1.231, allocations: 1.502 MB / 1.143 GB, free: 12.38 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006134/1.231, allocations: 197.7 kB / 1.143 GB, free: 12.35 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003659/1.232, allocations: 121 kB / 1.143 GB, free: 12.34 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001625/1.233, allocations: 0.5148 MB / 1.144 GB, free: 11.87 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.729e-05/1.233, allocations: 37.41 kB / 1.144 GB, free: 11.83 MB / 0.698 GB Notification: Performance of pre-optimization done (n=15): time 3.617e-06/1.233, allocations: 0 / 1.144 GB, free: 11.83 MB / 0.698 GB Notification: Performance of matching and sorting (n=15): time 0.001509/1.235, allocations: 378.7 kB / 1.144 GB, free: 11.77 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.954e-05/1.235, allocations: 57.06 kB / 1.144 GB, free: 11.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004704/1.235, allocations: 312.7 kB / 1.145 GB, free: 11.59 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.606e-05/1.235, allocations: 29.83 kB / 1.145 GB, free: 11.56 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001621/1.236, allocations: 182.3 kB / 1.145 GB, free: 11.45 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.069e-05/1.236, allocations: 52.73 kB / 1.145 GB, free: 11.42 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.023e-05/1.236, allocations: 3.531 kB / 1.145 GB, free: 11.42 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001718/1.236, allocations: 344.5 kB / 1.145 GB, free: 11.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003293/1.236, allocations: 93.5 kB / 1.145 GB, free: 11.1 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003978/1.237, allocations: 153.6 kB / 1.145 GB, free: 11.04 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003911/1.237, allocations: 103 kB / 1.146 GB, free: 11.03 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/1.237, allocations: 1.312 kB / 1.146 GB, free: 11.03 MB / 0.698 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0009886/1.238, allocations: 292.4 kB / 1.146 GB, free: 10.97 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/1.238, allocations: 5.094 kB / 1.146 GB, free: 10.97 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/1.238, allocations: 4.906 kB / 1.146 GB, free: 10.97 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/1.238, allocations: 2.719 kB / 1.146 GB, free: 10.97 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004038/1.239, allocations: 44.95 kB / 1.146 GB, free: 10.97 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/1.239, allocations: 10.94 kB / 1.146 GB, free: 10.96 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000423/1.239, allocations: 43.88 kB / 1.146 GB, free: 10.95 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.685e-05/1.239, allocations: 9.688 kB / 1.146 GB, free: 10.95 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002554/1.239, allocations: 151 kB / 1.146 GB, free: 10.83 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001533/1.239, allocations: 33.09 kB / 1.146 GB, free: 10.81 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001149/1.241, allocations: 323.3 kB / 1.146 GB, free: 10.75 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/1.241, allocations: 1.531 kB / 1.146 GB, free: 10.75 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/1.241, allocations: 1.469 kB / 1.146 GB, free: 10.75 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.523e-06/1.241, allocations: 5.969 kB / 1.146 GB, free: 10.75 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00209/1.243, allocations: 0.8143 MB / 1.147 GB, free: 10.28 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/1.243, allocations: 4.812 kB / 1.147 GB, free: 10.28 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003433/1.243, allocations: 41.12 kB / 1.147 GB, free: 10.27 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.178e-05/1.243, allocations: 7.422 kB / 1.147 GB, free: 10.27 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.71e-05/1.243, allocations: 6.469 kB / 1.147 GB, free: 10.27 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.265e-06/1.243, allocations: 11.14 kB / 1.147 GB, free: 10.26 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/1.243, allocations: 2 kB / 1.147 GB, free: 10.26 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009828/1.244, allocations: 412.9 kB / 1.148 GB, free: 10.01 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002366/1.245, allocations: 137 kB / 1.148 GB, free: 9.883 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.512e-05/1.245, allocations: 9.766 kB / 1.148 GB, free: 9.879 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004588/1.245, allocations: 28.17 kB / 1.148 GB, free: 9.871 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.977e-05/1.245, allocations: 14.95 kB / 1.148 GB, free: 9.863 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.754e-05/1.245, allocations: 16.42 kB / 1.148 GB, free: 9.859 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003428/1.246, allocations: 222.2 kB / 1.148 GB, free: 9.754 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.91e-07/1.246, allocations: 9.281 kB / 1.148 GB, free: 9.746 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007111/1.246, allocations: 116 kB / 1.148 GB, free: 9.73 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006823/1.247, allocations: 204 kB / 1.148 GB, free: 9.602 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0008193/1.248, allocations: 230.9 kB / 1.149 GB, free: 9.547 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/1.248, allocations: 0 / 1.149 GB, free: 9.547 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004034/1.248, allocations: 115.8 kB / 1.149 GB, free: 9.523 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001526/1.25, allocations: 167.7 kB / 1.149 GB, free: 9.465 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001687/1.252, allocations: 0.6986 MB / 1.15 GB, free: 8.984 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004838/1.252, allocations: 0.7887 MB / 1.15 GB, free: 8.246 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005869/1.253, allocations: 82.42 kB / 1.15 GB, free: 8.215 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001556/1.253, allocations: 27.03 kB / 1.15 GB, free: 8.207 MB / 0.698 GB Notification: Performance of SimCode: time 1.352e-06/1.253, allocations: 4 kB / 1.15 GB, free: 8.203 MB / 0.698 GB Notification: Performance of Templates: time 0.02084/1.274, allocations: 6.776 MB / 1.157 GB, free: 4.789 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)