Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Examples.Utilities.Tests.BoilerEspresso.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo) Using package ObsoleteModelica4 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo) 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) Running command: "" <> buildModelFMU(ThermofluidStream.Examples.Utilities.Tests.BoilerEspresso,fileNamePrefix="ThermofluidStream_ThermofluidStream_Examples_Utilities_Tests_BoilerEspresso",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Examples.Utilities.Tests.BoilerEspresso,fileNamePrefix="ThermofluidStream_ThermofluidStream_Examples_Utilities_Tests_BoilerEspresso",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008597/0.008597, allocations: 170.6 kB / 15.11 MB, free: 5.988 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.508/1.508, allocations: 223.2 MB / 239 MB, free: 1.805 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 99.56 kB / 290.2 MB, free: 13.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo): time 0.01137/0.01137, allocations: 1.563 MB / 342.9 MB, free: 9.289 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.8437/0.8437, allocations: 90.3 MB / 484.6 MB, free: 21.91 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004935/0.0004935, allocations: 18.62 kB / 0.5527 GB, free: 30.29 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.1572, allocations: 69.36 MB / 0.6204 GB, free: 5.531 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.77/10.93, allocations: 3.795 GB / 4.415 GB, free: 100.4 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003484/10.93, allocations: 87.2 kB / 4.415 GB, free: 100.4 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.78/13.71, allocations: 0.6556 GB / 5.071 GB, free: 62.46 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.775e-06/13.71, allocations: 3.812 kB / 5.071 GB, free: 62.46 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0002352/13.71, allocations: 38.73 kB / 5.071 GB, free: 62.46 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 385 * Number of variables: 385 Notification: Performance of Generate backend data structure: time 0.01605/13.73, allocations: 3.332 MB / 5.074 GB, free: 60.86 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 7.964e-05/13.73, allocations: 15.23 kB / 5.074 GB, free: 60.86 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0013/13.73, allocations: 226 kB / 5.074 GB, free: 60.81 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003695/13.73, allocations: 378.5 kB / 5.075 GB, free: 60.71 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003923/13.73, allocations: 0.9337 MB / 5.076 GB, free: 60.38 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002526/13.74, allocations: 122.6 kB / 5.076 GB, free: 60.37 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007437/13.74, allocations: 162.7 kB / 5.076 GB, free: 60.37 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007243/13.74, allocations: 1.911 MB / 5.078 GB, free: 60.16 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.628e-05/13.74, allocations: 3.25 kB / 5.078 GB, free: 60.16 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003844/13.74, allocations: 64.81 kB / 5.078 GB, free: 60.16 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001536/13.74, allocations: 60.36 kB / 5.078 GB, free: 60.16 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006571/13.75, allocations: 1.7 MB / 5.079 GB, free: 60.14 MB / 0.6198 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.01564/13.77, allocations: 8.046 MB / 5.087 GB, free: 55.19 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004708/13.77, allocations: 1.44 MB / 5.089 GB, free: 55.14 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08757/13.86, allocations: 35.91 MB / 5.124 GB, free: 34.07 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004064/13.86, allocations: 0.928 MB / 5.125 GB, free: 34.01 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=135): time 7.233e-06/13.86, allocations: 1.312 kB / 5.125 GB, free: 34.01 MB / 0.6198 GB Notification: Performance of matching and sorting (n=135): time 0.01192/13.87, allocations: 3.215 MB / 5.128 GB, free: 33.21 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.064e-05/13.87, allocations: 119.3 kB / 5.128 GB, free: 33.09 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001786/13.88, allocations: 0.7366 MB / 5.129 GB, free: 32.94 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0002297/13.88, allocations: 54.52 kB / 5.129 GB, free: 32.91 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007432/13.88, allocations: 0.6658 MB / 5.129 GB, free: 32.62 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005697/13.88, allocations: 462.5 kB / 5.13 GB, free: 32.33 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001396/13.88, allocations: 31.56 kB / 5.13 GB, free: 32.32 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001286/13.88, allocations: 352.8 kB / 5.13 GB, free: 32.02 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001543/13.88, allocations: 0.4982 MB / 5.131 GB, free: 32.02 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001709/13.88, allocations: 0.7138 MB / 5.131 GB, free: 31.8 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001681/13.88, allocations: 0.6246 MB / 5.132 GB, free: 31.71 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.305e-06/13.88, allocations: 3.906 kB / 5.132 GB, free: 31.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=171) (initialization): time 0.004788/13.89, allocations: 1.707 MB / 5.134 GB, free: 31.47 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004554/13.89, allocations: 1.807 MB / 5.135 GB, free: 29.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.727e-05/13.89, allocations: 3.312 kB / 5.135 GB, free: 29.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008842/13.89, allocations: 201.2 kB / 5.136 GB, free: 29.54 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001693/13.89, allocations: 299.3 kB / 5.136 GB, free: 29.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005319/13.9, allocations: 6.024 MB / 5.142 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002065/13.9, allocations: 197.2 kB / 5.142 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003099/13.9, allocations: 56.61 kB / 5.142 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/13.9, allocations: 7.062 kB / 5.142 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004608/13.9, allocations: 1.528 MB / 5.144 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.958e-05/13.9, allocations: 3.906 kB / 5.144 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008246/13.9, allocations: 197.3 kB / 5.144 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001678/13.91, allocations: 295.6 kB / 5.144 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006987/13.91, allocations: 6.015 MB / 5.15 GB, free: 35.17 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002113/13.92, allocations: 172.7 kB / 5.15 GB, free: 35.11 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004056/13.92, allocations: 59.58 kB / 5.15 GB, free: 35.11 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 22 (boilerEspresso.phaseSeparator2_1.state_out[1].phase,boilerEspresso.phaseSeparator2_1.state_out[2].phase,tanValve.outlet.state.phase,$whenCondition2,$whenCondition1,boilerEspresso.phaseSeparator2_1.medium.phase,source.outlet.state.phase,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,$PRE.pulse1.T_start,pulse1.T_start,$PRE.pulse1.count,pulse1.count,flowResistance2.outlet.state.phase,tanValve2.outlet.state.phase,flowResistance1.outlet.state.phase,tanValve1.outlet.state.phase,flowResistance.outlet.state.phase,PID1.I.local_reset,PID2.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (149): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 7,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001549/13.92, allocations: 435 kB / 5.151 GB, free: 34.91 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000428/13.92, allocations: 127.8 kB / 5.151 GB, free: 34.84 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006597/13.92, allocations: 4.146 MB / 5.155 GB, free: 34.38 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.468e-05/13.92, allocations: 55.75 kB / 5.155 GB, free: 34.38 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.086e-05/13.92, allocations: 7.422 kB / 5.155 GB, free: 34.38 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.027e-05/13.92, allocations: 7.359 kB / 5.155 GB, free: 34.38 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009242/13.93, allocations: 6.217 MB / 5.161 GB, free: 33.78 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.737e-06/13.93, allocations: 0 / 5.161 GB, free: 33.78 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009984/13.93, allocations: 223.2 kB / 5.161 GB, free: 33.77 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001287/13.94, allocations: 0.7517 MB / 5.162 GB, free: 33.7 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001365/13.94, allocations: 45.28 kB / 5.162 GB, free: 33.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005998/13.94, allocations: 6.993 MB / 5.169 GB, free: 27.46 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/13.94, allocations: 0 / 5.169 GB, free: 27.46 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0066/13.95, allocations: 4.107 MB / 5.173 GB, free: 25.5 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009383/13.95, allocations: 421.4 kB / 5.173 GB, free: 25.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003323/13.95, allocations: 34.06 kB / 5.173 GB, free: 25.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001335/13.95, allocations: 141.9 kB / 5.173 GB, free: 25.11 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003011/13.95, allocations: 125.7 kB / 5.173 GB, free: 25.09 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001117/13.95, allocations: 53.12 kB / 5.173 GB, free: 25.08 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0009206/13.95, allocations: 0.5519 MB / 5.174 GB, free: 24.84 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.3e-07/13.95, allocations: 4 kB / 5.174 GB, free: 24.83 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.008786/13.96, allocations: 1.831 MB / 5.176 GB, free: 24.41 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (boilerEspresso.phaseSeparator2_1.M,boilerEspresso.phaseSeparator2_1.U_med,flowResistance.inlet.m_flow,tanValve1.inlet.m_flow,firstOrder1.y,tanValve2.inlet.m_flow,firstOrder2.y,firstOrder3.y,PID2.I.y,PID1.I.y) * Number of discrete variables: 30 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse9.phase,$cse9.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse18.region3boundary,$cse20.region3boundary,$cse21.phase,$cse21.region,$cse22.region3boundary,$cse23.region3boundary,$whenCondition2,$whenCondition1,boilerEspresso.phaseSeparator2_1.medium.phase,source.outlet.state.phase,pulse.T_start,pulse.count,pulse1.T_start,pulse1.count) * Number of discrete states: 2 (pulse1.count,pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (133): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 7} * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.01654/13.98, allocations: 6.647 MB / 5.182 GB, free: 21.37 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.007638/13.99, allocations: 3.731 MB / 5.186 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/13.99, allocations: 3.969 kB / 5.186 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.002917/13.99, allocations: 1.79 MB / 5.188 GB, free: 18.17 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002621/13.99, allocations: 433.4 kB / 5.188 GB, free: 18.06 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02317/14.01, allocations: 13.73 MB / 5.201 GB, free: 9.242 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001385/14.02, allocations: 1.52 MB / 5.203 GB, free: 7.984 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001946/14.02, allocations: 1.015 MB / 5.204 GB, free: 7.383 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009203/14.02, allocations: 0.7903 MB / 5.205 GB, free: 6.656 MB / 0.6355 GB Notification: Performance of SimCode: time 9.42e-07/14.02, allocations: 7.938 kB / 5.205 GB, free: 6.648 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5506/14.57, allocations: 78.52 MB / 5.281 GB, free: 83.73 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001918/14.57, allocations: 220.2 kB / 5.282 GB, free: 83.49 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.375/19.94, allocations: 0 / 5.282 GB, free: 83.49 MB / 0.6511 GB (rm -f ThermofluidStream_ThermofluidStream.Examples.Utilities.Tests.BoilerEspresso.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Examples.Utilities.Tests.BoilerEspresso.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Examples.Utilities.Tests.BoilerEspresso.pipe >> ../files/ThermofluidStream_ThermofluidStream.Examples.Utilities.Tests.BoilerEspresso.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Examples.Utilities.Tests.BoilerEspresso_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Examples_Utilities_Tests_BoilerEspresso_fmu --startTime=0 --stopTime=1000 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Examples_Utilities_Tests_BoilerEspresso.fmu > ThermofluidStream_ThermofluidStream.Examples.Utilities.Tests.BoilerEspresso.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_ThermofluidStream.Examples.Utilities.Tests.BoilerEspresso_res.mat does not exist to compare? outputFormat=mat