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.444/2.444, allocations: 390.5 MB / 398 MB, free: 10.95 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.001216/0.001215, allocations: 172.8 kB / 491.2 MB, free: 1.578 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.649/1.649, allocations: 221.5 MB / 0.7868 GB, free: 13.3 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.001015/0.001015, allocations: 103.5 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.283e-05/2.286e-05, allocations: 5.719 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2745/0.2745, allocations: 143 MB / 1.212 GB, free: 39.49 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.396/5.67, allocations: 1.869 GB / 3.081 GB, free: 358.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002378/5.671, allocations: 87.03 kB / 3.081 GB, free: 358.2 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.5943/6.265, allocations: 302.9 MB / 3.377 GB, free: 114.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.184e-06/6.265, allocations: 0 / 3.377 GB, free: 114.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 4.508e-05/6.265, allocations: 8 kB / 3.377 GB, free: 114.2 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.001644/6.267, allocations: 0.7062 MB / 3.378 GB, free: 113.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/6.267, allocations: 12.03 kB / 3.378 GB, free: 113.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001193/6.268, allocations: 131.3 kB / 3.378 GB, free: 113.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006063/6.269, allocations: 330 kB / 3.378 GB, free: 112.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.853e-05/6.269, allocations: 38.27 kB / 3.378 GB, free: 112.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.576e-05/6.269, allocations: 19.94 kB / 3.378 GB, free: 112.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003532/6.269, allocations: 213 kB / 3.379 GB, free: 112.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004133/6.269, allocations: 297.1 kB / 3.379 GB, free: 112.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/6.269, allocations: 0 / 3.379 GB, free: 112.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.813e-05/6.27, allocations: 0 / 3.379 GB, free: 112.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/6.27, allocations: 8 kB / 3.379 GB, free: 112.3 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.001507/6.271, allocations: 1.394 MB / 3.38 GB, free: 110.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002496/6.271, allocations: 166.6 kB / 3.38 GB, free: 110.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/6.271, allocations: 88.81 kB / 3.381 GB, free: 110.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007517/6.272, allocations: 0.4974 MB / 3.381 GB, free: 110 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/6.272, allocations: 42.5 kB / 3.381 GB, free: 109.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=15): time 1.383e-06/6.272, allocations: 0 / 3.381 GB, free: 109.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=15): time 0.0008944/6.273, allocations: 265.5 kB / 3.381 GB, free: 109.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.539e-05/6.273, allocations: 55.41 kB / 3.381 GB, free: 109.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/6.273, allocations: 190.1 kB / 3.382 GB, free: 109.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.653e-05/6.273, allocations: 25.7 kB / 3.382 GB, free: 109.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 9.061e-05/6.273, allocations: 196 kB / 3.382 GB, free: 109.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 3.547e-05/6.274, allocations: 51.27 kB / 3.382 GB, free: 109.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.172e-05/6.274, allocations: 0 / 3.382 GB, free: 109.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.262e-05/6.274, allocations: 330.8 kB / 3.382 GB, free: 108.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.854e-05/6.274, allocations: 67.92 kB / 3.382 GB, free: 108.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001162/6.274, allocations: 132.7 kB / 3.382 GB, free: 108.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003937/6.274, allocations: 138.8 kB / 3.382 GB, free: 108.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/6.274, allocations: 0 / 3.382 GB, free: 108.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.00062/6.275, allocations: 265.1 kB / 3.383 GB, free: 108.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.855e-05/6.275, allocations: 4 kB / 3.383 GB, free: 108.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/6.275, allocations: 7.984 kB / 3.383 GB, free: 108.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/6.275, allocations: 0 / 3.383 GB, free: 108.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002198/6.275, allocations: 48.11 kB / 3.383 GB, free: 108.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/6.275, allocations: 4 kB / 3.383 GB, free: 108.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002244/6.275, allocations: 39.81 kB / 3.383 GB, free: 108.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.8e-05/6.275, allocations: 12 kB / 3.383 GB, free: 108.1 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 7.65e-05/6.276, allocations: 112.8 kB / 3.383 GB, free: 107.9 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005765/6.276, allocations: 241.3 kB / 3.383 GB, free: 107.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.31e-05/6.276, allocations: 31.7 kB / 3.383 GB, free: 107.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005698/6.277, allocations: 273.2 kB / 3.383 GB, free: 107.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.257e-06/6.277, allocations: 4 kB / 3.383 GB, free: 107.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/6.277, allocations: 4 kB / 3.383 GB, free: 107.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/6.277, allocations: 3.953 kB / 3.383 GB, free: 107.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001683/6.278, allocations: 1.219 MB / 3.385 GB, free: 106 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/6.278, allocations: 4 kB / 3.385 GB, free: 106 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001791/6.279, allocations: 39.91 kB / 3.385 GB, free: 106 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.193e-06/6.279, allocations: 7.984 kB / 3.385 GB, free: 105.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/6.279, allocations: 12 kB / 3.385 GB, free: 105.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/6.279, allocations: 0 / 3.385 GB, free: 105.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.219e-06/6.279, allocations: 7.938 kB / 3.385 GB, free: 105.9 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005577/6.279, allocations: 0.5191 MB / 3.385 GB, free: 105.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001143/6.279, allocations: 128.8 kB / 3.385 GB, free: 105.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.732e-05/6.279, allocations: 7.953 kB / 3.385 GB, free: 105.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002659/6.28, allocations: 31.97 kB / 3.385 GB, free: 105.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.974e-05/6.28, allocations: 11.98 kB / 3.385 GB, free: 105.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.327e-05/6.28, allocations: 12 kB / 3.385 GB, free: 105.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 9.902e-05/6.28, allocations: 150 kB / 3.386 GB, free: 104.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.8e-07/6.28, allocations: 0 / 3.386 GB, free: 104.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0007812/6.281, allocations: 211.6 kB / 3.386 GB, free: 104.7 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.002748/6.284, allocations: 3.104 MB / 3.389 GB, free: 101.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0002996/6.284, allocations: 182.3 kB / 3.389 GB, free: 101.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/6.284, allocations: 0 / 3.389 GB, free: 101.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001261/6.284, allocations: 91.83 kB / 3.389 GB, free: 101.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005856/6.285, allocations: 104.5 kB / 3.389 GB, free: 101.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001026/6.286, allocations: 0.4987 MB / 3.39 GB, free: 100.6 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002204/6.286, allocations: 0.799 MB / 3.39 GB, free: 99.75 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0002676/6.286, allocations: 70.09 kB / 3.391 GB, free: 99.68 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001377/6.286, allocations: 95.39 kB / 3.391 GB, free: 99.59 MB / 1.151 GB Notification: Performance of SimCode: time 5.51e-07/6.286, allocations: 7.938 kB / 3.391 GB, free: 99.58 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04166/6.328, allocations: 16.6 MB / 3.407 GB, free: 83.04 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001892/6.328, allocations: 171.5 kB / 3.407 GB, free: 82.85 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.432/8.76, allocations: 3.938 kB / 3.407 GB, free: 82.85 MB / 1.151 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