Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.333/2.333, allocations: 390.3 MB / 402.8 MB, free: 6.691 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.001539/0.001539, allocations: 176.9 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.621/1.621, allocations: 221.3 MB / 0.7915 GB, free: 5.445 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.0009069/0.000907, allocations: 91.72 kB / 0.9317 GB, free: 5.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.637e-05/4.64e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2826/0.2827, allocations: 143 MB / 1.219 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.239/5.522, allocations: 1.87 GB / 3.089 GB, free: 435.9 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002877/5.522, allocations: 82.58 kB / 3.089 GB, free: 435.9 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.5656/6.088, allocations: 306.5 MB / 3.388 GB, free: 133.1 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.743e-06/6.088, allocations: 0 / 3.388 GB, free: 133.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 3.021e-05/6.088, allocations: 8 kB / 3.388 GB, free: 133.1 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.001327/6.089, allocations: 0.7141 MB / 3.389 GB, free: 132.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/6.089, allocations: 8.031 kB / 3.389 GB, free: 132.3 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.56e-05/6.089, allocations: 66.47 kB / 3.389 GB, free: 132.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001044/6.091, allocations: 119.5 kB / 3.389 GB, free: 132.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005002/6.091, allocations: 337.9 kB / 3.389 GB, free: 131.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.87e-05/6.091, allocations: 50.25 kB / 3.389 GB, free: 131.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.498e-05/6.091, allocations: 39.83 kB / 3.389 GB, free: 131.7 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004665/6.092, allocations: 334.2 kB / 3.39 GB, free: 131.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/6.092, allocations: 0 / 3.39 GB, free: 131.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.12e-05/6.092, allocations: 12 kB / 3.39 GB, free: 131.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/6.092, allocations: 8 kB / 3.39 GB, free: 131.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003373/6.092, allocations: 226.1 kB / 3.39 GB, free: 131.1 MB / 1.167 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.001378/6.093, allocations: 1.476 MB / 3.391 GB, free: 129.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002701/6.094, allocations: 170.6 kB / 3.391 GB, free: 129.3 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001151/6.094, allocations: 96.75 kB / 3.392 GB, free: 129.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000727/6.095, allocations: 0.5014 MB / 3.392 GB, free: 128.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.613e-05/6.095, allocations: 30.56 kB / 3.392 GB, free: 128.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=15): time 1.813e-06/6.095, allocations: 0 / 3.392 GB, free: 128.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=15): time 0.0005518/6.095, allocations: 237.8 kB / 3.392 GB, free: 128.3 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.084e-05/6.095, allocations: 51.69 kB / 3.392 GB, free: 128.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002297/6.095, allocations: 282.6 kB / 3.393 GB, free: 128 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/6.096, allocations: 33.7 kB / 3.393 GB, free: 128 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 8.342e-05/6.096, allocations: 176.2 kB / 3.393 GB, free: 127.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 3.425e-05/6.096, allocations: 59.19 kB / 3.393 GB, free: 127.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.097e-05/6.096, allocations: 4 kB / 3.393 GB, free: 127.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.003e-05/6.096, allocations: 342.8 kB / 3.393 GB, free: 127.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.718e-05/6.096, allocations: 67.97 kB / 3.393 GB, free: 127.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001579/6.096, allocations: 141.5 kB / 3.393 GB, free: 127.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001182/6.096, allocations: 91.33 kB / 3.393 GB, free: 127.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/6.096, allocations: 0 / 3.393 GB, free: 127.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003618/6.097, allocations: 253 kB / 3.394 GB, free: 126.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/6.097, allocations: 4 kB / 3.394 GB, free: 126.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/6.097, allocations: 4 kB / 3.394 GB, free: 126.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.132e-05/6.097, allocations: 4 kB / 3.394 GB, free: 126.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002154/6.097, allocations: 44.16 kB / 3.394 GB, free: 126.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/6.097, allocations: 11.95 kB / 3.394 GB, free: 126.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002347/6.097, allocations: 39.77 kB / 3.394 GB, free: 126.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.14e-05/6.097, allocations: 19.98 kB / 3.394 GB, free: 126.7 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 () * 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 7.526e-05/6.097, allocations: 116.9 kB / 3.394 GB, free: 126.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.801e-05/6.097, allocations: 27.62 kB / 3.394 GB, free: 126.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005155/6.098, allocations: 277.4 kB / 3.394 GB, free: 126.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/6.098, allocations: 7.984 kB / 3.394 GB, free: 126.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/6.098, allocations: 0 / 3.394 GB, free: 126.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/6.098, allocations: 3.953 kB / 3.394 GB, free: 126.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00094/6.099, allocations: 0.7616 MB / 3.395 GB, free: 125.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/6.099, allocations: 3.953 kB / 3.395 GB, free: 125.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001727/6.099, allocations: 39.97 kB / 3.395 GB, free: 125.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/6.099, allocations: 0 / 3.395 GB, free: 125.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.655e-05/6.099, allocations: 4 kB / 3.395 GB, free: 125.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/6.099, allocations: 7.938 kB / 3.395 GB, free: 125.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/6.099, allocations: 3.984 kB / 3.395 GB, free: 125.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003765/6.099, allocations: 454.1 kB / 3.395 GB, free: 124.8 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001179/6.1, allocations: 140.6 kB / 3.396 GB, free: 124.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.891e-05/6.1, allocations: 8 kB / 3.396 GB, free: 124.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002607/6.1, allocations: 27.97 kB / 3.396 GB, free: 124.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.514e-05/6.1, allocations: 15.98 kB / 3.396 GB, free: 124.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.111e-05/6.1, allocations: 8 kB / 3.396 GB, free: 124.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.000168/6.1, allocations: 222.2 kB / 3.396 GB, free: 124.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.4e-07/6.1, allocations: 0 / 3.396 GB, free: 124.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0008499/6.101, allocations: 235.8 kB / 3.396 GB, free: 124.2 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 () * 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.002116/6.103, allocations: 2.6 MB / 3.399 GB, free: 121.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0003118/6.103, allocations: 175.8 kB / 3.399 GB, free: 121.3 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/6.103, allocations: 4 kB / 3.399 GB, free: 121.3 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.000128/6.104, allocations: 104.6 kB / 3.399 GB, free: 121.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007895/6.104, allocations: 150.6 kB / 3.399 GB, free: 121 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/6.105, allocations: 0.527 MB / 3.4 GB, free: 120.5 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001819/6.106, allocations: 0.7914 MB / 3.4 GB, free: 119.6 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0002777/6.106, allocations: 78.86 kB / 3.4 GB, free: 119.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001359/6.106, allocations: 99.41 kB / 3.4 GB, free: 119.5 MB / 1.167 GB Notification: Performance of SimCode: time 3.4e-07/6.106, allocations: 0 / 3.4 GB, free: 119.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05033/6.156, allocations: 31.54 MB / 3.431 GB, free: 88.09 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001616/6.157, allocations: 195 kB / 3.431 GB, free: 87.87 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.19/9.346, allocations: 4.062 kB / 3.431 GB, free: 87.86 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_EntropyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_EntropyFlowRate.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat does not exist to compare? outputFormat=mat