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.533/2.533, allocations: 387.1 MB / 399.7 MB, free: 9.492 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.001009/0.001009, allocations: 165 kB / 492.3 MB, free: 0.6172 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.596/1.596, allocations: 221.3 MB / 0.7872 GB, free: 12.95 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009084/0.0009084, allocations: 99.41 kB / 0.9267 GB, free: 14.03 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.087e-05/4.1e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3157/0.3158, allocations: 142.3 MB / 1.212 GB, free: 38.44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.558/5.873, allocations: 1.869 GB / 3.081 GB, free: 359.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005168/5.874, allocations: 82.19 kB / 3.081 GB, free: 359.1 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.6112/6.485, allocations: 306.6 MB / 3.381 GB, free: 108 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.693e-06/6.485, allocations: 0 / 3.381 GB, free: 108 MB / 1.151 GB Notification: Performance of Transformations before backend: time 4.399e-05/6.485, allocations: 4 kB / 3.381 GB, free: 108 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.001565/6.487, allocations: 0.7093 MB / 3.382 GB, free: 107.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/6.487, allocations: 12.03 kB / 3.382 GB, free: 107.3 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000132/6.487, allocations: 70.53 kB / 3.382 GB, free: 107.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001193/6.488, allocations: 123.4 kB / 3.382 GB, free: 107.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006766/6.489, allocations: 330 kB / 3.382 GB, free: 106.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.256e-05/6.489, allocations: 54.25 kB / 3.382 GB, free: 106.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.161e-05/6.489, allocations: 28 kB / 3.382 GB, free: 106.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005396/6.49, allocations: 338.2 kB / 3.382 GB, free: 106.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/6.49, allocations: 0 / 3.382 GB, free: 106.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.198e-05/6.49, allocations: 12 kB / 3.382 GB, free: 106.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.886e-06/6.49, allocations: 8 kB / 3.382 GB, free: 106.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003476/6.49, allocations: 218.1 kB / 3.383 GB, free: 106 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.001697/6.492, allocations: 1.492 MB / 3.384 GB, free: 104.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000288/6.492, allocations: 170.6 kB / 3.384 GB, free: 104.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000128/6.492, allocations: 96.81 kB / 3.384 GB, free: 104.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007689/6.493, allocations: 0.4936 MB / 3.385 GB, free: 103.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.298e-05/6.493, allocations: 38.5 kB / 3.385 GB, free: 103.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=15): time 2.104e-06/6.493, allocations: 0 / 3.385 GB, free: 103.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=15): time 0.0006115/6.494, allocations: 226.6 kB / 3.385 GB, free: 103.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.607e-05/6.494, allocations: 55.69 kB / 3.385 GB, free: 103.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002509/6.494, allocations: 282.6 kB / 3.385 GB, free: 102.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.051e-05/6.494, allocations: 29.7 kB / 3.385 GB, free: 102.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 9.967e-05/6.494, allocations: 180.2 kB / 3.386 GB, free: 102.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 4.284e-05/6.494, allocations: 59.19 kB / 3.386 GB, free: 102.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.07e-05/6.494, allocations: 0 / 3.386 GB, free: 102.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.688e-05/6.494, allocations: 346.8 kB / 3.386 GB, free: 102.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001058/6.495, allocations: 67.97 kB / 3.386 GB, free: 102.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001462/6.495, allocations: 141.6 kB / 3.386 GB, free: 102.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001381/6.495, allocations: 94.31 kB / 3.386 GB, free: 102 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/6.495, allocations: 3.938 kB / 3.386 GB, free: 102 MB / 1.151 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004237/6.495, allocations: 249.1 kB / 3.387 GB, free: 101.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/6.495, allocations: 8 kB / 3.387 GB, free: 101.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.116e-06/6.495, allocations: 0 / 3.387 GB, free: 101.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/6.495, allocations: 7.938 kB / 3.387 GB, free: 101.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002228/6.496, allocations: 44.16 kB / 3.387 GB, free: 101.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/6.496, allocations: 4 kB / 3.387 GB, free: 101.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002721/6.496, allocations: 39.69 kB / 3.387 GB, free: 101.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.414e-05/6.496, allocations: 16.06 kB / 3.387 GB, free: 101.6 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.254e-05/6.496, allocations: 124.8 kB / 3.387 GB, free: 101.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/6.496, allocations: 27.72 kB / 3.387 GB, free: 101.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000513/6.497, allocations: 268.5 kB / 3.387 GB, free: 101.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/6.497, allocations: 0 / 3.387 GB, free: 101.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/6.497, allocations: 4 kB / 3.387 GB, free: 101.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/6.497, allocations: 3.984 kB / 3.387 GB, free: 101.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009846/6.498, allocations: 0.7655 MB / 3.388 GB, free: 100.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/6.498, allocations: 4 kB / 3.388 GB, free: 100.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001765/6.498, allocations: 43.91 kB / 3.388 GB, free: 100.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.196e-06/6.498, allocations: 7.953 kB / 3.388 GB, free: 100.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.714e-05/6.498, allocations: 4 kB / 3.388 GB, free: 100.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/6.498, allocations: 0 / 3.388 GB, free: 100.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/6.498, allocations: 8.031 kB / 3.388 GB, free: 100.3 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004325/6.498, allocations: 454.1 kB / 3.388 GB, free: 99.74 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001395/6.499, allocations: 140.6 kB / 3.388 GB, free: 99.59 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.275e-05/6.499, allocations: 4 kB / 3.388 GB, free: 99.58 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002722/6.499, allocations: 31.97 kB / 3.388 GB, free: 99.55 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.62e-05/6.499, allocations: 15.92 kB / 3.388 GB, free: 99.54 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.514e-05/6.499, allocations: 12 kB / 3.389 GB, free: 99.52 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.00017/6.499, allocations: 226.2 kB / 3.389 GB, free: 99.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.2e-07/6.499, allocations: 0 / 3.389 GB, free: 99.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00094/6.5, allocations: 227.8 kB / 3.389 GB, free: 99.08 MB / 1.151 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 () * 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.0026/6.503, allocations: 2.601 MB / 3.391 GB, free: 96.39 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0003264/6.503, allocations: 179.8 kB / 3.392 GB, free: 96.21 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/6.503, allocations: 3.938 kB / 3.392 GB, free: 96.21 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001314/6.503, allocations: 99.83 kB / 3.392 GB, free: 96.11 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008018/6.504, allocations: 153.8 kB / 3.392 GB, free: 95.96 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001184/6.505, allocations: 0.5228 MB / 3.392 GB, free: 95.38 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000227/6.505, allocations: 0.7953 MB / 3.393 GB, free: 94.55 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.000313/6.506, allocations: 75.06 kB / 3.393 GB, free: 94.48 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001451/6.506, allocations: 91.41 kB / 3.393 GB, free: 94.39 MB / 1.151 GB Notification: Performance of SimCode: time 3.81e-07/6.506, allocations: 4 kB / 3.393 GB, free: 94.38 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05173/6.558, allocations: 31.51 MB / 3.424 GB, free: 63.02 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001727/6.558, allocations: 202 kB / 3.424 GB, free: 62.79 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.013/9.571, allocations: 3 kB / 3.424 GB, free: 62.79 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