Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.734/1.734, allocations: 288.4 MB / 303.6 MB, free: 8.137 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.0009486/0.0009486, allocations: 184.5 kB / 372.3 MB, free: 10.12 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.489/1.489, allocations: 205.4 MB / 0.631 GB, free: 9.887 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.0007086/0.0007086, allocations: 90.34 kB / 0.7444 GB, free: 5.797 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003861/0.0003862, allocations: 17.12 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1952/0.1956, allocations: 115.3 MB / 0.9802 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.5593/0.755, allocations: 154 MB / 1.131 GB, free: 1.477 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.01159/0.7666, allocations: 6.636 MB / 1.137 GB, free: 15.74 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000793/0.7675, allocations: 9.781 kB / 1.137 GB, free: 15.73 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0007239/0.7682, allocations: 118 kB / 1.137 GB, free: 15.69 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.004993/0.7733, allocations: 1.119 MB / 1.138 GB, free: 15.26 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00261/0.7759, allocations: 0.5403 MB / 1.139 GB, free: 15.12 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001516/0.7774, allocations: 0.8965 MB / 1.14 GB, free: 14.98 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006626/0.7781, allocations: 248.5 kB / 1.14 GB, free: 14.94 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001722/0.7799, allocations: 0.5098 MB / 1.14 GB, free: 14.8 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001174/0.781, allocations: 397.9 kB / 1.141 GB, free: 14.7 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 8.715e-05/0.7812, allocations: 16 kB / 1.141 GB, free: 14.7 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003402/0.7846, allocations: 1.438 MB / 1.142 GB, free: 14.39 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002165/0.7848, allocations: 103.3 kB / 1.142 GB, free: 14.35 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003325/0.7852, allocations: 188.3 kB / 1.142 GB, free: 14.26 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001383/0.7866, allocations: 0.6219 MB / 1.143 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.7866, allocations: 4 kB / 1.143 GB, free: 13.94 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.155e-06/0.7866, allocations: 0 / 1.143 GB, free: 13.94 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.443e-05/0.7866, allocations: 0 / 1.143 GB, free: 13.94 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.001474/0.7881, allocations: 0.6297 MB / 1.144 GB, free: 13.4 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.407e-05/0.7882, allocations: 13.19 kB / 1.144 GB, free: 13.4 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001123/0.7883, allocations: 60.73 kB / 1.144 GB, free: 13.36 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001649/0.79, allocations: 131.8 kB / 1.144 GB, free: 13.3 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006816/0.7907, allocations: 330 kB / 1.144 GB, free: 13.02 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.655e-05/0.7908, allocations: 44.11 kB / 1.144 GB, free: 12.98 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.982e-05/0.7909, allocations: 28.94 kB / 1.144 GB, free: 12.98 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009/0.7918, allocations: 375 kB / 1.145 GB, free: 12.83 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.7918, allocations: 2.969 kB / 1.145 GB, free: 12.83 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.844e-05/0.7918, allocations: 10.5 kB / 1.145 GB, free: 12.83 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.7919, allocations: 6.938 kB / 1.145 GB, free: 12.83 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006674/0.7925, allocations: 287.7 kB / 1.145 GB, free: 12.77 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.00251/0.7951, allocations: 1.504 MB / 1.146 GB, free: 11.58 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005587/0.7956, allocations: 195.5 kB / 1.147 GB, free: 11.52 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002874/0.7959, allocations: 123.2 kB / 1.147 GB, free: 11.49 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001013/0.797, allocations: 0.5126 MB / 1.147 GB, free: 10.98 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.797, allocations: 34.88 kB / 1.147 GB, free: 10.94 MB / 0.698 GB Notification: Performance of pre-optimization done (n=15): time 2.675e-06/0.797, allocations: 4 kB / 1.147 GB, free: 10.94 MB / 0.698 GB Notification: Performance of matching and sorting (n=15): time 0.0009634/0.798, allocations: 372.1 kB / 1.148 GB, free: 10.82 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/0.798, allocations: 55.97 kB / 1.148 GB, free: 10.76 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003621/0.7984, allocations: 309.4 kB / 1.148 GB, free: 10.61 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.532e-05/0.7985, allocations: 30.36 kB / 1.148 GB, free: 10.58 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000128/0.7986, allocations: 186.2 kB / 1.148 GB, free: 10.46 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.912e-05/0.7986, allocations: 54.55 kB / 1.148 GB, free: 10.42 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.202e-05/0.7987, allocations: 1.188 kB / 1.148 GB, free: 10.42 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.7988, allocations: 352.9 kB / 1.149 GB, free: 10.09 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002056/0.799, allocations: 90.16 kB / 1.149 GB, free: 10.07 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002553/0.7993, allocations: 154.5 kB / 1.149 GB, free: 9.984 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004403/0.7997, allocations: 248.9 kB / 1.149 GB, free: 9.883 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.7997, allocations: 1.156 kB / 1.149 GB, free: 9.883 MB / 0.698 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006112/0.8004, allocations: 290.7 kB / 1.149 GB, free: 9.789 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.8004, allocations: 8.844 kB / 1.149 GB, free: 9.785 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.8004, allocations: 2 kB / 1.149 GB, free: 9.785 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.8004, allocations: 7.219 kB / 1.149 GB, free: 9.781 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002319/0.8007, allocations: 43.91 kB / 1.149 GB, free: 9.773 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.8007, allocations: 2.469 kB / 1.149 GB, free: 9.773 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002638/0.8009, allocations: 44.95 kB / 1.149 GB, free: 9.75 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.965e-05/0.801, allocations: 12.61 kB / 1.149 GB, free: 9.746 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.0001597/0.8012, allocations: 154.8 kB / 1.15 GB, free: 9.621 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.8013, allocations: 29.81 kB / 1.15 GB, free: 9.605 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006972/0.802, allocations: 324.8 kB / 1.15 GB, free: 9.492 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.802, allocations: 1.562 kB / 1.15 GB, free: 9.492 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.802, allocations: 1.125 kB / 1.15 GB, free: 9.492 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.802, allocations: 0 / 1.15 GB, free: 9.492 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001353/0.8034, allocations: 0.8202 MB / 1.151 GB, free: 8.973 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.8034, allocations: 5.844 kB / 1.151 GB, free: 8.973 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001896/0.8036, allocations: 43.53 kB / 1.151 GB, free: 8.961 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-06/0.8036, allocations: 7.125 kB / 1.151 GB, free: 8.957 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.838e-05/0.8036, allocations: 6.344 kB / 1.151 GB, free: 8.957 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.8036, allocations: 2.938 kB / 1.151 GB, free: 8.957 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.8036, allocations: 6.844 kB / 1.151 GB, free: 8.953 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005771/0.8042, allocations: 406.4 kB / 1.151 GB, free: 8.707 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001531/0.8044, allocations: 132.7 kB / 1.151 GB, free: 8.586 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.511e-05/0.8045, allocations: 10.08 kB / 1.151 GB, free: 8.582 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002808/0.8047, allocations: 39.2 kB / 1.151 GB, free: 8.562 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.934e-05/0.8048, allocations: 15.7 kB / 1.151 GB, free: 8.555 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.667e-05/0.8048, allocations: 11.19 kB / 1.151 GB, free: 8.555 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002226/0.8051, allocations: 221.9 kB / 1.152 GB, free: 8.449 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.7e-07/0.8051, allocations: 0 / 1.152 GB, free: 8.449 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005303/0.8056, allocations: 125.2 kB / 1.152 GB, free: 8.43 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.00135/0.807, allocations: 1.07 MB / 1.153 GB, free: 7.59 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004967/0.8075, allocations: 232.4 kB / 1.153 GB, free: 7.535 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.8075, allocations: 1.469 kB / 1.153 GB, free: 7.535 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002359/0.8077, allocations: 119.8 kB / 1.153 GB, free: 7.508 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000916/0.8087, allocations: 148.7 kB / 1.153 GB, free: 7.465 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002864/0.8115, allocations: 1.854 MB / 1.155 GB, free: 6.48 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003366/0.8119, allocations: 0.7861 MB / 1.156 GB, free: 5.742 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003786/0.8123, allocations: 92.86 kB / 1.156 GB, free: 5.703 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000167/0.8124, allocations: 100.2 kB / 1.156 GB, free: 5.684 MB / 0.698 GB Notification: Performance of SimCode: time 2.61e-07/0.8125, allocations: 1.062 kB / 1.156 GB, free: 5.684 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.449/1.261, allocations: 9.969 MB / 1.166 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001726/1.262, allocations: 241.5 kB / 1.166 GB, free: 0.5859 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.795/4.057, allocations: 0 / 1.166 GB, free: 0.5859 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_EntropyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_EntropyFlowRate.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)