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 2.772/2.772, allocations: 284.9 MB / 292.4 MB, free: 10.57 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.001582/0.001582, allocations: 176.9 kB / 360.6 MB, free: 7.285 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.048/2.048, allocations: 205.3 MB / 0.6191 GB, free: 12.19 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001057/0.001057, allocations: 97.36 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.552e-05/2.562e-05, allocations: 4 kB / 0.8509 GB, free: 3.328 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8021/0.8022, allocations: 115.2 MB / 0.9634 GB, free: 78.46 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.031/6.833, allocations: 2.063 GB / 3.026 GB, free: 55.32 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003108/6.833, allocations: 83.83 kB / 3.026 GB, free: 55.28 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.661/8.495, allocations: 300 MB / 3.319 GB, free: 146.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.453e-06/8.495, allocations: 0 / 3.319 GB, free: 146.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.496e-05/8.495, allocations: 12 kB / 3.319 GB, free: 146.5 MB / 0.948 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.001605/8.496, allocations: 0.7141 MB / 3.32 GB, free: 145.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/8.496, allocations: 12.03 kB / 3.32 GB, free: 145.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001591/8.498, allocations: 124.3 kB / 3.32 GB, free: 145.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009811/8.499, allocations: 345.8 kB / 3.321 GB, free: 145.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001037/8.499, allocations: 38.27 kB / 3.321 GB, free: 145.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.199e-05/8.499, allocations: 16 kB / 3.321 GB, free: 145.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005872/8.5, allocations: 205.1 kB / 3.321 GB, free: 145 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006459/8.501, allocations: 297.1 kB / 3.321 GB, free: 144.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/8.501, allocations: 0 / 3.321 GB, free: 144.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.656e-05/8.501, allocations: 3.984 kB / 3.321 GB, free: 144.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.237e-05/8.501, allocations: 8 kB / 3.321 GB, free: 144.7 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.00253/8.503, allocations: 1.391 MB / 3.322 GB, free: 143.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004181/8.504, allocations: 158.6 kB / 3.323 GB, free: 143 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001909/8.504, allocations: 92.81 kB / 3.323 GB, free: 142.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001239/8.505, allocations: 0.5053 MB / 3.323 GB, free: 142.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/8.505, allocations: 30.56 kB / 3.323 GB, free: 142.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=15): time 3.667e-06/8.505, allocations: 0 / 3.323 GB, free: 142.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=15): time 0.001512/8.507, allocations: 274.3 kB / 3.323 GB, free: 142 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/8.507, allocations: 55.41 kB / 3.323 GB, free: 141.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002613/8.507, allocations: 190.1 kB / 3.324 GB, free: 141.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.158e-05/8.507, allocations: 29.7 kB / 3.324 GB, free: 141.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/8.507, allocations: 200 kB / 3.324 GB, free: 141.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 5.397e-05/8.507, allocations: 43.27 kB / 3.324 GB, free: 141.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.744e-05/8.507, allocations: 0 / 3.324 GB, free: 141.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.07e-05/8.507, allocations: 334.8 kB / 3.324 GB, free: 141.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001555/8.508, allocations: 63.97 kB / 3.324 GB, free: 141.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002104/8.508, allocations: 141.2 kB / 3.324 GB, free: 140.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006887/8.509, allocations: 129.3 kB / 3.325 GB, free: 140.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/8.509, allocations: 0 / 3.325 GB, free: 140.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.001069/8.51, allocations: 273.1 kB / 3.325 GB, free: 140.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/8.51, allocations: 12.61 kB / 3.325 GB, free: 140.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/8.51, allocations: 3.953 kB / 3.325 GB, free: 140.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.331e-05/8.51, allocations: 4 kB / 3.325 GB, free: 140.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004019/8.51, allocations: 35.98 kB / 3.325 GB, free: 140.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/8.51, allocations: 11.92 kB / 3.325 GB, free: 140.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003862/8.511, allocations: 32.02 kB / 3.325 GB, free: 140.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.414e-05/8.511, allocations: 12 kB / 3.325 GB, free: 140.4 MB / 0.948 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 () * 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.0001108/8.511, allocations: 112.7 kB / 3.325 GB, free: 140.3 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009445/8.512, allocations: 242.8 kB / 3.325 GB, free: 140 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/8.512, allocations: 27.75 kB / 3.325 GB, free: 140 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009733/8.513, allocations: 279.4 kB / 3.326 GB, free: 139.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/8.513, allocations: 4 kB / 3.326 GB, free: 139.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/8.513, allocations: 0 / 3.326 GB, free: 139.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/8.513, allocations: 0 / 3.326 GB, free: 139.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002813/8.516, allocations: 1.223 MB / 3.327 GB, free: 138.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.704e-06/8.516, allocations: 4.344 kB / 3.327 GB, free: 138.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003334/8.516, allocations: 43.91 kB / 3.327 GB, free: 138.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.528e-06/8.516, allocations: 4 kB / 3.327 GB, free: 138.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.478e-05/8.516, allocations: 4 kB / 3.327 GB, free: 138.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.061e-06/8.516, allocations: 4 kB / 3.327 GB, free: 138.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/8.516, allocations: 4 kB / 3.327 GB, free: 138.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008022/8.517, allocations: 0.5356 MB / 3.327 GB, free: 137.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000177/8.517, allocations: 124.8 kB / 3.327 GB, free: 137.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.059e-05/8.517, allocations: 4 kB / 3.327 GB, free: 137.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004499/8.518, allocations: 27.91 kB / 3.328 GB, free: 137.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.79e-05/8.518, allocations: 27.88 kB / 3.328 GB, free: 137.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.838e-05/8.518, allocations: 12 kB / 3.328 GB, free: 137.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.000148/8.518, allocations: 158 kB / 3.328 GB, free: 137.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.11e-07/8.518, allocations: 0 / 3.328 GB, free: 137.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001016/8.519, allocations: 203.5 kB / 3.328 GB, free: 137.1 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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.003388/8.522, allocations: 3.107 MB / 3.331 GB, free: 133.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0005205/8.523, allocations: 173.7 kB / 3.331 GB, free: 133.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.199e-06/8.523, allocations: 0 / 3.331 GB, free: 133.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002249/8.523, allocations: 100.7 kB / 3.331 GB, free: 133.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009115/8.524, allocations: 88.42 kB / 3.331 GB, free: 133.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001519/8.526, allocations: 0.4989 MB / 3.332 GB, free: 132.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003478/8.526, allocations: 0.7989 MB / 3.333 GB, free: 132.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0004334/8.526, allocations: 65.98 kB / 3.333 GB, free: 132 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002296/8.527, allocations: 99.39 kB / 3.333 GB, free: 131.9 MB / 0.948 GB Notification: Performance of SimCode: time 9.52e-07/8.527, allocations: 0 / 3.333 GB, free: 131.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07016/8.597, allocations: 16.58 MB / 3.349 GB, free: 115.4 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002828/8.597, allocations: 168.7 kB / 3.349 GB, free: 115.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.437/12.03, allocations: 3.938 kB / 3.349 GB, free: 115.2 MB / 0.948 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)