Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.335/2.335, allocations: 387.4 MB / 394.9 MB, free: 13.36 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 184.8 kB / 487.4 MB, free: 5.035 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 221.5 MB / 0.7824 GB, free: 1.004 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008629/0.0008629, allocations: 99.59 kB / 0.9219 GB, free: 2.234 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.224e-05/2.225e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3084/0.3085, allocations: 142.4 MB / 1.206 GB, free: 43.88 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.839/6.148, allocations: 1.868 GB / 3.074 GB, free: 362.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003063/6.148, allocations: 85.72 kB / 3.074 GB, free: 362.3 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.5681/6.716, allocations: 302.9 MB / 3.37 GB, free: 134.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.503e-06/6.717, allocations: 4 kB / 3.37 GB, free: 134.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 3.606e-05/6.717, allocations: 11.98 kB / 3.37 GB, free: 134.5 MB / 1.151 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.001638/6.718, allocations: 0.7102 MB / 3.371 GB, free: 133.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.228e-05/6.718, allocations: 8.031 kB / 3.371 GB, free: 133.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001062/6.719, allocations: 127.4 kB / 3.371 GB, free: 133.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004641/6.72, allocations: 334 kB / 3.371 GB, free: 133.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.39e-05/6.72, allocations: 42.27 kB / 3.371 GB, free: 133.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.901e-05/6.72, allocations: 16 kB / 3.371 GB, free: 133.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003221/6.72, allocations: 201.1 kB / 3.372 GB, free: 133 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003995/6.721, allocations: 309 kB / 3.372 GB, free: 132.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/6.721, allocations: 8 kB / 3.372 GB, free: 132.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.82e-05/6.721, allocations: 0 / 3.372 GB, free: 132.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/6.721, allocations: 4 kB / 3.372 GB, free: 132.6 MB / 1.151 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.001483/6.722, allocations: 1.398 MB / 3.373 GB, free: 131.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000259/6.723, allocations: 170.5 kB / 3.373 GB, free: 130.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001177/6.723, allocations: 88.81 kB / 3.373 GB, free: 130.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000748/6.723, allocations: 0.4936 MB / 3.374 GB, free: 130.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/6.723, allocations: 42.56 kB / 3.374 GB, free: 130.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=15): time 1.363e-06/6.723, allocations: 0 / 3.374 GB, free: 130.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=15): time 0.0008487/6.724, allocations: 265.5 kB / 3.374 GB, free: 129.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.295e-05/6.724, allocations: 51.41 kB / 3.374 GB, free: 129.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001576/6.725, allocations: 194.1 kB / 3.374 GB, free: 129.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.361e-05/6.725, allocations: 29.64 kB / 3.374 GB, free: 129.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000103/6.725, allocations: 196 kB / 3.375 GB, free: 129.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 3.773e-05/6.725, allocations: 51.27 kB / 3.375 GB, free: 129.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.185e-05/6.725, allocations: 0 / 3.375 GB, free: 129.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.735e-05/6.725, allocations: 330.8 kB / 3.375 GB, free: 129.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.806e-05/6.725, allocations: 63.97 kB / 3.375 GB, free: 129 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000123/6.725, allocations: 132.8 kB / 3.375 GB, free: 128.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003906/6.725, allocations: 132.6 kB / 3.375 GB, free: 128.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/6.725, allocations: 3.938 kB / 3.375 GB, free: 128.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006063/6.726, allocations: 263.9 kB / 3.376 GB, free: 128.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/6.726, allocations: 9.562 kB / 3.376 GB, free: 128.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/6.726, allocations: 4 kB / 3.376 GB, free: 128.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.169e-05/6.726, allocations: 7.984 kB / 3.376 GB, free: 128.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002263/6.726, allocations: 43.92 kB / 3.376 GB, free: 128.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/6.726, allocations: 4 kB / 3.376 GB, free: 128.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002241/6.727, allocations: 31.81 kB / 3.376 GB, free: 128.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.136e-05/6.727, allocations: 12 kB / 3.376 GB, free: 128.3 MB / 1.151 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 8.781e-05/6.727, allocations: 112.8 kB / 3.376 GB, free: 128.2 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005735/6.727, allocations: 243.2 kB / 3.376 GB, free: 128 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.935e-05/6.727, allocations: 23.72 kB / 3.376 GB, free: 128 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005901/6.728, allocations: 287.4 kB / 3.376 GB, free: 127.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.147e-06/6.728, allocations: 0 / 3.376 GB, free: 127.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/6.728, allocations: 0 / 3.376 GB, free: 127.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/6.728, allocations: 0 / 3.376 GB, free: 127.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001686/6.73, allocations: 1.223 MB / 3.378 GB, free: 126.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/6.73, allocations: 4 kB / 3.378 GB, free: 126.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001787/6.73, allocations: 44.39 kB / 3.378 GB, free: 126.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.408e-06/6.73, allocations: 12 kB / 3.378 GB, free: 126.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.895e-05/6.73, allocations: 7.938 kB / 3.378 GB, free: 126.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/6.73, allocations: 4 kB / 3.378 GB, free: 126.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/6.73, allocations: 4 kB / 3.378 GB, free: 126.2 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005363/6.731, allocations: 0.5171 MB / 3.378 GB, free: 125.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/6.731, allocations: 136.8 kB / 3.378 GB, free: 125.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.746e-05/6.731, allocations: 3.953 kB / 3.378 GB, free: 125.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002621/6.731, allocations: 23.98 kB / 3.378 GB, free: 125.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.499e-05/6.731, allocations: 23.91 kB / 3.378 GB, free: 125.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-05/6.731, allocations: 12 kB / 3.378 GB, free: 125.4 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0001005/6.731, allocations: 150 kB / 3.378 GB, free: 125.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/6.731, allocations: 0 / 3.378 GB, free: 125.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0008582/6.732, allocations: 207.6 kB / 3.379 GB, free: 125 MB / 1.151 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.002801/6.735, allocations: 3.111 MB / 3.382 GB, free: 121.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0003281/6.735, allocations: 163.8 kB / 3.382 GB, free: 121.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/6.735, allocations: 3.938 kB / 3.382 GB, free: 121.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001209/6.735, allocations: 100.5 kB / 3.382 GB, free: 121.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005761/6.736, allocations: 84.98 kB / 3.382 GB, free: 121.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/6.737, allocations: 0.5137 MB / 3.383 GB, free: 120.9 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002562/6.737, allocations: 0.7951 MB / 3.383 GB, free: 120 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0002443/6.737, allocations: 65.98 kB / 3.383 GB, free: 120 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001355/6.738, allocations: 99.39 kB / 3.383 GB, free: 119.9 MB / 1.151 GB Notification: Performance of SimCode: time 4.51e-07/6.738, allocations: 0 / 3.383 GB, free: 119.9 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03882/6.776, allocations: 16.6 MB / 3.4 GB, free: 103.3 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001805/6.777, allocations: 164.9 kB / 3.4 GB, free: 103.1 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.448/9.225, allocations: 0 / 3.4 GB, free: 103.1 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sensors_Examples_EntropyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sensors_Examples_EntropyFlowRate.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat does not exist to compare? outputFormat=mat