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: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.613/1.613, allocations: 287.4 MB / 302.6 MB, free: 8.184 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.001136/0.001136, allocations: 176.4 kB / 371.1 MB, free: 10.74 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.509/1.509, allocations: 205.4 MB / 0.6298 GB, free: 10.55 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.0007801/0.00078, allocations: 94.28 kB / 0.7431 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000394/0.0003942, allocations: 12.09 kB / 0.8662 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2224/0.2228, allocations: 115.3 MB / 0.9787 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.6133/0.8362, allocations: 154 MB / 1.129 GB, free: 0.9297 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.00809/0.8443, allocations: 6.635 MB / 1.136 GB, free: 15.56 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006819/0.8451, allocations: 14.91 kB / 1.136 GB, free: 15.55 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006307/0.8458, allocations: 115.4 kB / 1.136 GB, free: 15.51 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.002925/0.8487, allocations: 0.836 MB / 1.136 GB, free: 15.16 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001514/0.8502, allocations: 480.6 kB / 1.137 GB, free: 15.04 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001046/0.8513, allocations: 0.9037 MB / 1.138 GB, free: 14.89 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000401/0.8517, allocations: 243.4 kB / 1.138 GB, free: 14.86 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001075/0.8528, allocations: 477.5 kB / 1.139 GB, free: 14.73 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000712/0.8535, allocations: 399.3 kB / 1.139 GB, free: 14.63 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.092e-05/0.8536, allocations: 13.34 kB / 1.139 GB, free: 14.63 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001473/0.855, allocations: 0.637 MB / 1.14 GB, free: 14.54 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001126/0.8552, allocations: 109.9 kB / 1.14 GB, free: 14.52 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 7.79e-05/0.8553, allocations: 85.61 kB / 1.14 GB, free: 14.48 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0006027/0.8559, allocations: 0.5168 MB / 1.14 GB, free: 14.39 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.8559, allocations: 0 / 1.14 GB, free: 14.39 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.382e-06/0.8559, allocations: 0 / 1.14 GB, free: 14.39 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.772e-06/0.8559, allocations: 0 / 1.14 GB, free: 14.39 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.0008083/0.8567, allocations: 0.6356 MB / 1.141 GB, free: 13.89 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.8568, allocations: 8.25 kB / 1.141 GB, free: 13.89 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.821e-05/0.8568, allocations: 64.72 kB / 1.141 GB, free: 13.86 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008176/0.8576, allocations: 131.8 kB / 1.141 GB, free: 13.83 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003993/0.858, allocations: 319.7 kB / 1.141 GB, free: 13.59 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.876e-05/0.8581, allocations: 49.58 kB / 1.141 GB, free: 13.55 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.486e-05/0.8582, allocations: 27.06 kB / 1.141 GB, free: 13.55 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000627/0.8588, allocations: 374.9 kB / 1.142 GB, free: 13.47 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.8588, allocations: 0 / 1.142 GB, free: 13.47 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.951e-05/0.8589, allocations: 14.47 kB / 1.142 GB, free: 13.47 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.8589, allocations: 8.984 kB / 1.142 GB, free: 13.47 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004973/0.8594, allocations: 285.6 kB / 1.142 GB, free: 13.46 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.001725/0.8611, allocations: 1.501 MB / 1.144 GB, free: 12.45 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000365/0.8615, allocations: 203 kB / 1.144 GB, free: 12.41 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002065/0.8617, allocations: 118.9 kB / 1.144 GB, free: 12.41 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009336/0.8627, allocations: 0.5246 MB / 1.144 GB, free: 11.93 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/0.8627, allocations: 33.94 kB / 1.144 GB, free: 11.89 MB / 0.698 GB Notification: Performance of pre-optimization done (n=15): time 1.433e-06/0.8627, allocations: 0 / 1.144 GB, free: 11.89 MB / 0.698 GB Notification: Performance of matching and sorting (n=15): time 0.000865/0.8636, allocations: 371.2 kB / 1.145 GB, free: 11.83 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.8636, allocations: 53.47 kB / 1.145 GB, free: 11.77 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002963/0.8639, allocations: 314.5 kB / 1.145 GB, free: 11.66 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.421e-05/0.864, allocations: 26.95 kB / 1.145 GB, free: 11.63 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.8641, allocations: 185.6 kB / 1.145 GB, free: 11.52 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.179e-05/0.8641, allocations: 52.84 kB / 1.145 GB, free: 11.48 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.232e-05/0.8642, allocations: 4.562 kB / 1.145 GB, free: 11.48 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.8643, allocations: 347.5 kB / 1.146 GB, free: 11.16 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001813/0.8645, allocations: 89.36 kB / 1.146 GB, free: 11.16 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002167/0.8647, allocations: 152.2 kB / 1.146 GB, free: 11.11 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003908/0.8651, allocations: 252.7 kB / 1.146 GB, free: 11.04 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.8651, allocations: 0 / 1.146 GB, free: 11.04 MB / 0.698 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005348/0.8656, allocations: 288.8 kB / 1.146 GB, free: 10.97 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.8657, allocations: 6.406 kB / 1.146 GB, free: 10.97 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.8657, allocations: 1.125 kB / 1.146 GB, free: 10.97 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.8657, allocations: 7.656 kB / 1.146 GB, free: 10.96 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002164/0.8659, allocations: 47.62 kB / 1.146 GB, free: 10.95 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.016e-06/0.8659, allocations: 5.156 kB / 1.147 GB, free: 10.95 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002236/0.8662, allocations: 40.2 kB / 1.147 GB, free: 10.93 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.363e-05/0.8662, allocations: 12.53 kB / 1.147 GB, free: 10.93 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.0001414/0.8664, allocations: 159.8 kB / 1.147 GB, free: 10.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.003e-05/0.8665, allocations: 31.64 kB / 1.147 GB, free: 10.79 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006668/0.8671, allocations: 323.3 kB / 1.147 GB, free: 10.68 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.8671, allocations: 2.094 kB / 1.147 GB, free: 10.68 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.8672, allocations: 0 / 1.147 GB, free: 10.68 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.8672, allocations: 1.188 kB / 1.147 GB, free: 10.68 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001185/0.8684, allocations: 0.8199 MB / 1.148 GB, free: 10.16 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.8684, allocations: 2.188 kB / 1.148 GB, free: 10.16 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001745/0.8685, allocations: 41.67 kB / 1.148 GB, free: 10.15 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.685e-06/0.8686, allocations: 10.53 kB / 1.148 GB, free: 10.14 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.937e-05/0.8686, allocations: 11.36 kB / 1.148 GB, free: 10.14 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.8686, allocations: 6.469 kB / 1.148 GB, free: 10.13 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.8686, allocations: 6.438 kB / 1.148 GB, free: 10.13 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005351/0.8691, allocations: 404.7 kB / 1.148 GB, free: 9.883 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001229/0.8693, allocations: 132.2 kB / 1.148 GB, free: 9.766 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.645e-05/0.8693, allocations: 10.83 kB / 1.148 GB, free: 9.758 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000243/0.8696, allocations: 34.3 kB / 1.148 GB, free: 9.746 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.679e-05/0.8696, allocations: 18.2 kB / 1.148 GB, free: 9.738 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.696e-05/0.8697, allocations: 11.55 kB / 1.149 GB, free: 9.734 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001929/0.8699, allocations: 225.3 kB / 1.149 GB, free: 9.629 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8699, allocations: 0 / 1.149 GB, free: 9.629 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004783/0.8704, allocations: 119.2 kB / 1.149 GB, free: 9.609 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.001189/0.8716, allocations: 1.049 MB / 1.15 GB, free: 8.785 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004605/0.872, allocations: 225.8 kB / 1.15 GB, free: 8.738 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.8721, allocations: 0 / 1.15 GB, free: 8.738 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002234/0.8723, allocations: 132.1 kB / 1.15 GB, free: 8.699 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008709/0.8732, allocations: 152.5 kB / 1.15 GB, free: 8.652 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002718/0.8759, allocations: 1.858 MB / 1.152 GB, free: 7.668 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003529/0.8763, allocations: 0.784 MB / 1.153 GB, free: 6.93 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003253/0.8766, allocations: 82.09 kB / 1.153 GB, free: 6.898 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001502/0.8767, allocations: 99.92 kB / 1.153 GB, free: 6.879 MB / 0.698 GB Notification: Performance of SimCode: time 2.5e-07/0.8767, allocations: 0 / 1.153 GB, free: 6.879 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03106/0.9078, allocations: 9.861 MB / 1.163 GB, free: 2.066 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002159/0.9081, allocations: 228.1 kB / 1.163 GB, free: 1.824 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.938/2.846, allocations: 0.5312 kB / 1.163 GB, free: 1.824 MB / 0.698 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_EntropyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_EntropyFlowRate.fmu > Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)