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.00129/0.00129, allocations: 174.7 kB / 12.73 MB, free: 2.59 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.487/1.487, allocations: 221.4 MB / 234.6 MB, free: 14.43 MB / 202.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: 92.09 kB / 285.6 MB, free: 12.98 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.01135/0.01135, allocations: 1.549 MB / 338 MB, free: 8.473 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.6262/0.6262, allocations: 90.04 MB / 479.3 MB, free: 2.965 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.894e-05/3.913e-05, allocations: 7.984 kB / 0.5446 GB, free: 7.879 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.169/0.1691, allocations: 69.36 MB / 0.6123 GB, free: 2.43 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.73/11.89, allocations: 3.795 GB / 4.407 GB, free: 13.83 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002874/11.89, allocations: 83.39 kB / 4.407 GB, free: 13.79 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.055/14.95, allocations: 0.6537 GB / 5.061 GB, free: 45.73 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.304e-06/14.95, allocations: 0 / 5.061 GB, free: 45.73 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001924/14.95, allocations: 42.48 kB / 5.061 GB, free: 45.73 MB / 0.6042 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.01607/14.97, allocations: 3.175 MB / 5.064 GB, free: 43.95 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.573e-05/14.97, allocations: 19.73 kB / 5.064 GB, free: 43.93 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001056/14.97, allocations: 219.5 kB / 5.064 GB, free: 43.79 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002802/14.97, allocations: 371.9 kB / 5.064 GB, free: 43.66 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0028/14.97, allocations: 0.9348 MB / 5.065 GB, free: 43.07 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001666/14.97, allocations: 122.3 kB / 5.066 GB, free: 43.02 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005367/14.97, allocations: 158 kB / 5.066 GB, free: 42.97 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005058/14.98, allocations: 1.878 MB / 5.067 GB, free: 42.16 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.896e-05/14.98, allocations: 2.781 kB / 5.067 GB, free: 42.16 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002023/14.98, allocations: 66.08 kB / 5.068 GB, free: 42.11 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.105e-05/14.98, allocations: 52.19 kB / 5.068 GB, free: 42.11 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003581/14.98, allocations: 1.576 MB / 5.069 GB, free: 40.77 MB / 0.6042 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.01117/14.99, allocations: 8.037 MB / 5.077 GB, free: 32.25 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002807/15, allocations: 1.329 MB / 5.078 GB, free: 30.91 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008675/15, allocations: 0.5732 MB / 5.079 GB, free: 30.34 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07419/15.07, allocations: 36.08 MB / 5.114 GB, free: 6.254 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003314/15.08, allocations: 0.8995 MB / 5.115 GB, free: 5.34 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=135): time 5.29e-06/15.08, allocations: 0 / 5.115 GB, free: 5.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=135): time 0.006435/15.08, allocations: 1.905 MB / 5.117 GB, free: 3.41 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001129/15.08, allocations: 120.1 kB / 5.117 GB, free: 3.27 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001815/15.08, allocations: 0.7254 MB / 5.118 GB, free: 2.523 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.000217/15.08, allocations: 53.7 kB / 5.118 GB, free: 2.465 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009658/15.08, allocations: 0.6666 MB / 5.118 GB, free: 1.789 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007018/15.09, allocations: 458 kB / 5.119 GB, free: 1.348 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/15.09, allocations: 28 kB / 5.119 GB, free: 1.32 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0002473/15.09, allocations: 361.8 kB / 5.119 GB, free: 0.9609 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001014/15.09, allocations: 411.3 kB / 5.12 GB, free: 0.5586 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001189/15.09, allocations: 0.6305 MB / 5.12 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00112/15.09, allocations: 0.5354 MB / 5.121 GB, free: 15.31 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.155e-05/15.09, allocations: 4 kB / 5.121 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of matching and sorting (n=171) (initialization): time 0.003439/15.09, allocations: 1.521 MB / 5.122 GB, free: 13.75 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.001002/15.09, allocations: 1.808 MB / 5.124 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.874e-05/15.09, allocations: 4 kB / 5.124 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008395/15.09, allocations: 195.3 kB / 5.124 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001421/15.1, allocations: 303.6 kB / 5.124 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006476/15.1, allocations: 5.961 MB / 5.13 GB, free: 4.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002138/15.1, allocations: 190.8 kB / 5.13 GB, free: 4.633 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004676/15.11, allocations: 51.98 kB / 5.13 GB, free: 4.582 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/15.11, allocations: 9.406 kB / 5.13 GB, free: 4.574 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00384/15.11, allocations: 1.406 MB / 5.132 GB, free: 3.145 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.448e-05/15.11, allocations: 4 kB / 5.132 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006335/15.11, allocations: 191.7 kB / 5.132 GB, free: 2.941 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001316/15.11, allocations: 291.6 kB / 5.132 GB, free: 2.656 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5685/15.68, allocations: 5.938 MB / 5.138 GB, free: 78.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0019/15.68, allocations: 173 kB / 5.138 GB, free: 78.95 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001579/15.68, allocations: 54.44 kB / 5.138 GB, free: 78.95 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 () * 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.0004338/15.68, allocations: 196.4 kB / 5.139 GB, free: 78.84 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002835/15.68, allocations: 130.7 kB / 5.139 GB, free: 78.84 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007195/15.69, allocations: 4.035 MB / 5.143 GB, free: 78.51 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.388e-05/15.69, allocations: 53.56 kB / 5.143 GB, free: 78.51 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-05/15.69, allocations: 8.25 kB / 5.143 GB, free: 78.51 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.622e-05/15.69, allocations: 7.359 kB / 5.143 GB, free: 78.51 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01164/15.7, allocations: 6.166 MB / 5.149 GB, free: 78.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-05/15.7, allocations: 1.094 kB / 5.149 GB, free: 78.01 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001253/15.7, allocations: 226 kB / 5.149 GB, free: 78.01 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001691/15.7, allocations: 0.8548 MB / 5.15 GB, free: 77.93 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001349/15.7, allocations: 36.03 kB / 5.15 GB, free: 77.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006101/15.71, allocations: 6.945 MB / 5.157 GB, free: 72.36 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.169e-06/15.71, allocations: 12.33 kB / 5.157 GB, free: 72.36 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007104/15.72, allocations: 4.234 MB / 5.161 GB, free: 71.86 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001167/15.72, allocations: 416.6 kB / 5.161 GB, free: 71.67 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001825/15.72, allocations: 30.47 kB / 5.161 GB, free: 71.67 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001039/15.72, allocations: 137.4 kB / 5.161 GB, free: 71.66 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003961/15.72, allocations: 129.1 kB / 5.161 GB, free: 71.66 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001208/15.72, allocations: 52.05 kB / 5.161 GB, free: 71.66 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001049/15.72, allocations: 0.5422 MB / 5.162 GB, free: 71.55 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.61e-07/15.72, allocations: 1.344 kB / 5.162 GB, free: 71.55 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.009741/15.73, allocations: 1.838 MB / 5.164 GB, free: 71.48 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) * 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.02016/15.75, allocations: 6.367 MB / 5.17 GB, free: 70.15 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.007849/15.76, allocations: 3.513 MB / 5.173 GB, free: 68.91 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.566e-05/15.76, allocations: 3.344 kB / 5.173 GB, free: 68.91 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.002973/15.76, allocations: 1.691 MB / 5.175 GB, free: 68.41 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003339/15.77, allocations: 430.1 kB / 5.175 GB, free: 68.4 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01914/15.79, allocations: 4.204 MB / 5.18 GB, free: 67.47 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001884/15.79, allocations: 1.527 MB / 5.181 GB, free: 66.73 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.003107/15.79, allocations: 1.082 MB / 5.182 GB, free: 66.71 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001279/15.79, allocations: 0.7874 MB / 5.183 GB, free: 66.7 MB / 0.6355 GB Notification: Performance of SimCode: time 2.014e-06/15.79, allocations: 0 / 5.183 GB, free: 66.7 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1591/15.95, allocations: 84.98 MB / 5.266 GB, free: 63.41 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000195/15.95, allocations: 199.7 kB / 5.266 GB, free: 63.19 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.408/21.36, allocations: 4 kB / 5.266 GB, free: 63.18 MB / 0.6355 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