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.211/2.211, allocations: 390.3 MB / 405.3 MB, free: 13.44 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.001327/0.001327, allocations: 165.2 kB / 498.1 MB, free: 5.691 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.447/1.447, allocations: 223.2 MB / 0.7948 GB, free: 17.96 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.0009074/0.0009074, allocations: 96.16 kB / 0.9346 GB, free: 6.227 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.00036/0.0003599, allocations: 10.25 kB / 1.084 GB, free: 221.6 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2583/0.2587, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.882/4.141, allocations: 1.869 GB / 3.092 GB, free: 117.8 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003033/4.141, allocations: 91.72 kB / 3.092 GB, free: 117.8 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.184/5.326, allocations: 306.8 MB / 3.392 GB, free: 288.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.797e-06/5.326, allocations: 8 kB / 3.392 GB, free: 288.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 4.358e-05/5.326, allocations: 4 kB / 3.392 GB, free: 288.3 MB / 1.167 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.001923/5.328, allocations: 0.7607 MB / 3.392 GB, free: 287.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/5.328, allocations: 8.031 kB / 3.392 GB, free: 287.5 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001305/5.328, allocations: 66.53 kB / 3.392 GB, free: 287.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001087/5.329, allocations: 133.5 kB / 3.393 GB, free: 287.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006274/5.33, allocations: 329.9 kB / 3.393 GB, free: 286.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.844e-05/5.33, allocations: 58.16 kB / 3.393 GB, free: 286.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.631e-05/5.33, allocations: 24 kB / 3.393 GB, free: 286.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006479/5.33, allocations: 362.2 kB / 3.393 GB, free: 286.4 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.82e-05/5.33, allocations: 0 / 3.393 GB, free: 286.4 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.337e-05/5.33, allocations: 15.94 kB / 3.393 GB, free: 286.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/5.33, allocations: 8 kB / 3.393 GB, free: 286.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004788/5.331, allocations: 262 kB / 3.394 GB, free: 286.2 MB / 1.167 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.001652/5.333, allocations: 1.492 MB / 3.395 GB, free: 284.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003395/5.333, allocations: 190.5 kB / 3.395 GB, free: 284.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008008/5.334, allocations: 0.4975 MB / 3.396 GB, free: 283.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/5.334, allocations: 34.56 kB / 3.396 GB, free: 283.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=15): time 1.323e-06/5.334, allocations: 0 / 3.396 GB, free: 283.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=15): time 0.0009/5.335, allocations: 349.7 kB / 3.396 GB, free: 283.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.247e-05/5.335, allocations: 59.64 kB / 3.396 GB, free: 283.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002364/5.335, allocations: 283.6 kB / 3.396 GB, free: 283 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 2.675e-05/5.335, allocations: 29.64 kB / 3.396 GB, free: 283 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 8.144e-05/5.335, allocations: 188.1 kB / 3.397 GB, free: 282.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 3.868e-05/5.335, allocations: 47.3 kB / 3.397 GB, free: 282.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.24e-05/5.335, allocations: 12 kB / 3.397 GB, free: 282.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 5.815e-05/5.335, allocations: 334.8 kB / 3.397 GB, free: 282.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000162/5.335, allocations: 87.92 kB / 3.397 GB, free: 282.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001907/5.336, allocations: 152.5 kB / 3.397 GB, free: 282.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001837/5.336, allocations: 107.9 kB / 3.397 GB, free: 282 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/5.336, allocations: 4 kB / 3.397 GB, free: 282 MB / 1.167 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005152/5.336, allocations: 289 kB / 3.398 GB, free: 281.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/5.336, allocations: 4 kB / 3.398 GB, free: 281.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/5.336, allocations: 0 / 3.398 GB, free: 281.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/5.336, allocations: 7.953 kB / 3.398 GB, free: 281.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002271/5.337, allocations: 47.97 kB / 3.398 GB, free: 281.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/5.337, allocations: 4 kB / 3.398 GB, free: 281.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002667/5.337, allocations: 43.83 kB / 3.398 GB, free: 281.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.947e-05/5.337, allocations: 11.98 kB / 3.398 GB, free: 281.6 MB / 1.167 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.0001595/5.337, allocations: 157.7 kB / 3.398 GB, free: 281.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.866e-05/5.337, allocations: 23.72 kB / 3.398 GB, free: 281.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006129/5.338, allocations: 313.1 kB / 3.398 GB, free: 281.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/5.338, allocations: 3.953 kB / 3.398 GB, free: 281.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/5.338, allocations: 8 kB / 3.398 GB, free: 281.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/5.338, allocations: 0 / 3.398 GB, free: 281.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001176/5.339, allocations: 0.7965 MB / 3.399 GB, free: 280.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/5.339, allocations: 7.938 kB / 3.399 GB, free: 280.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001825/5.339, allocations: 39.97 kB / 3.399 GB, free: 280.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.561e-06/5.339, allocations: 11.92 kB / 3.399 GB, free: 280.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.756e-05/5.339, allocations: 4.219 kB / 3.399 GB, free: 280.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/5.339, allocations: 4 kB / 3.399 GB, free: 280.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/5.339, allocations: 4 kB / 3.399 GB, free: 280.1 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005289/5.34, allocations: 487.8 kB / 3.399 GB, free: 279.6 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001513/5.34, allocations: 140.6 kB / 3.4 GB, free: 279.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.573e-05/5.34, allocations: 4 kB / 3.4 GB, free: 279.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002815/5.34, allocations: 31.97 kB / 3.4 GB, free: 279.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.362e-05/5.34, allocations: 19.94 kB / 3.4 GB, free: 279.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.291e-05/5.341, allocations: 8 kB / 3.4 GB, free: 279.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0001759/5.341, allocations: 223 kB / 3.4 GB, free: 279.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.21e-07/5.341, allocations: 0 / 3.4 GB, free: 279.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0009225/5.342, allocations: 227.8 kB / 3.4 GB, free: 278.9 MB / 1.167 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.002637/5.344, allocations: 2.634 MB / 3.403 GB, free: 276.2 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0004477/5.345, allocations: 215.7 kB / 3.403 GB, free: 276 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/5.345, allocations: 0 / 3.403 GB, free: 276 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.000189/5.345, allocations: 116.6 kB / 3.403 GB, free: 275.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007158/5.346, allocations: 166.2 kB / 3.403 GB, free: 275.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001487/5.347, allocations: 1.933 MB / 3.405 GB, free: 273.7 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002018/5.347, allocations: 0.7953 MB / 3.406 GB, free: 272.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0002669/5.348, allocations: 74.89 kB / 3.406 GB, free: 272.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001361/5.348, allocations: 99.39 kB / 3.406 GB, free: 272.7 MB / 1.167 GB Notification: Performance of SimCode: time 2.7e-07/5.348, allocations: 0 / 3.406 GB, free: 272.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03844/5.386, allocations: 28.06 MB / 3.433 GB, free: 244.8 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001486/5.386, allocations: 216.1 kB / 3.434 GB, free: 244.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.89/8.276, allocations: 0 / 3.434 GB, free: 244.6 MB / 1.167 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