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.00103/0.001031, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 221.5 MB / 229.6 MB, free: 7.551 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.001071/0.001071, allocations: 86.23 kB / 280.5 MB, free: 5.285 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.009046/0.009046, allocations: 1.579 MB / 332.8 MB, free: 13.55 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.7068/0.7068, allocations: 90.04 MB / 474 MB, free: 13.05 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.758e-05/1.764e-05, allocations: 2.625 kB / 0.5376 GB, free: 32.96 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1328, allocations: 69.37 MB / 0.6053 GB, free: 28 kB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.931/10.06, allocations: 3.794 GB / 4.399 GB, free: 118.9 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002715/10.06, allocations: 88.44 kB / 4.399 GB, free: 118.9 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.573/12.64, allocations: 0.6483 GB / 5.048 GB, free: 66.23 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.312e-06/12.64, allocations: 0 / 5.048 GB, free: 66.23 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0002241/12.64, allocations: 41.58 kB / 5.048 GB, free: 66.23 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.01273/12.65, allocations: 3.177 MB / 5.051 GB, free: 65.01 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.314e-05/12.65, allocations: 8.75 kB / 5.051 GB, free: 65.01 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002821/12.65, allocations: 371.4 kB / 5.051 GB, free: 64.91 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002854/12.66, allocations: 0.9315 MB / 5.052 GB, free: 64.57 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001484/12.66, allocations: 60.7 kB / 5.052 GB, free: 64.57 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006631/12.66, allocations: 94.44 kB / 5.052 GB, free: 64.57 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003664/12.66, allocations: 1.224 MB / 5.053 GB, free: 64.56 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003721/12.66, allocations: 1.409 MB / 5.055 GB, free: 64.36 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.402e-05/12.66, allocations: 2.734 kB / 5.055 GB, free: 64.36 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002215/12.66, allocations: 6.938 kB / 5.055 GB, free: 64.36 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001069/12.66, allocations: 59.39 kB / 5.055 GB, free: 64.36 MB / 0.6198 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.009883/12.67, allocations: 7.79 MB / 5.062 GB, free: 59.46 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001612/12.68, allocations: 1.014 MB / 5.063 GB, free: 59.42 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007962/12.68, allocations: 0.5386 MB / 5.064 GB, free: 59.41 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06746/12.74, allocations: 36.08 MB / 5.099 GB, free: 38.65 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001733/12.75, allocations: 0.6147 MB / 5.1 GB, free: 38.59 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=135): time 4.589e-06/12.75, allocations: 2.578 kB / 5.1 GB, free: 38.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=135): time 0.004857/12.75, allocations: 1.606 MB / 5.101 GB, free: 38.41 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.795e-05/12.75, allocations: 122.9 kB / 5.102 GB, free: 38.28 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00109/12.75, allocations: 0.6268 MB / 5.102 GB, free: 38.13 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001848/12.75, allocations: 32.98 kB / 5.102 GB, free: 38.1 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005326/12.75, allocations: 0.6567 MB / 5.103 GB, free: 37.81 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004326/12.75, allocations: 449.7 kB / 5.103 GB, free: 37.52 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.539e-05/12.75, allocations: 1.5 kB / 5.103 GB, free: 37.52 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.812e-05/12.75, allocations: 362.9 kB / 5.104 GB, free: 37.21 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006616/12.75, allocations: 392.6 kB / 5.104 GB, free: 37.2 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007905/12.75, allocations: 0.5953 MB / 5.105 GB, free: 37 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001141/12.76, allocations: 490.3 kB / 5.105 GB, free: 36.99 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/12.76, allocations: 2.781 kB / 5.105 GB, free: 36.99 MB / 0.6198 GB Notification: Performance of matching and sorting (n=171) (initialization): time 0.002908/12.76, allocations: 1.39 MB / 5.106 GB, free: 36.82 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003863/12.76, allocations: 1.802 MB / 5.108 GB, free: 34.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.627e-05/12.76, allocations: 6.812 kB / 5.108 GB, free: 34.94 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006241/12.76, allocations: 185.6 kB / 5.108 GB, free: 34.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001203/12.76, allocations: 306.5 kB / 5.109 GB, free: 34.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003674/12.77, allocations: 5.735 MB / 5.114 GB, free: 30.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001503/12.77, allocations: 166.2 kB / 5.114 GB, free: 30.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002045/12.77, allocations: 53.27 kB / 5.114 GB, free: 30.04 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.166e-06/12.77, allocations: 3.656 kB / 5.114 GB, free: 30.04 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002749/12.77, allocations: 1.241 MB / 5.116 GB, free: 29.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/12.77, allocations: 3.844 kB / 5.116 GB, free: 29.97 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005261/12.77, allocations: 186.7 kB / 5.116 GB, free: 29.94 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001124/12.77, allocations: 287.1 kB / 5.116 GB, free: 29.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003552/12.77, allocations: 5.749 MB / 5.122 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001622/12.78, allocations: 138 kB / 5.122 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001602/12.78, allocations: 55.86 kB / 5.122 GB, free: 25.06 MB / 0.6198 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.0004412/12.78, allocations: 146.4 kB / 5.122 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002829/12.78, allocations: 1.254 MB / 5.123 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002312/12.78, allocations: 129.9 kB / 5.123 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004646/12.78, allocations: 3.939 MB / 5.127 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.056e-05/12.78, allocations: 55.3 kB / 5.127 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/12.78, allocations: 3.688 kB / 5.127 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.731e-05/12.78, allocations: 6.938 kB / 5.127 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007257/12.79, allocations: 5.814 MB / 5.133 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.305e-05/12.79, allocations: 3.938 kB / 5.133 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001007/12.79, allocations: 224.5 kB / 5.133 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00136/12.79, allocations: 0.8366 MB / 5.134 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001458/12.79, allocations: 25.89 kB / 5.134 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007619/12.8, allocations: 6.817 MB / 5.141 GB, free: 34.28 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.263e-06/12.8, allocations: 3.312 kB / 5.141 GB, free: 34.28 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007067/12.81, allocations: 4.118 MB / 5.145 GB, free: 33.79 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001191/12.81, allocations: 420.5 kB / 5.145 GB, free: 33.55 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004751/12.81, allocations: 13.33 kB / 5.145 GB, free: 33.55 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001484/12.81, allocations: 109.1 kB / 5.145 GB, free: 33.54 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003325/12.81, allocations: 127 kB / 5.145 GB, free: 33.54 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001279/12.81, allocations: 50.86 kB / 5.145 GB, free: 33.54 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0009256/12.81, allocations: 481.6 kB / 5.146 GB, free: 33.43 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.282e-06/12.81, allocations: 0 / 5.146 GB, free: 33.43 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.009908/12.82, allocations: 1.732 MB / 5.148 GB, free: 33.14 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.01742/12.84, allocations: 6.461 MB / 5.154 GB, free: 31.66 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00652/12.85, allocations: 3.337 MB / 5.157 GB, free: 30.48 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 8.395e-06/12.85, allocations: 1.844 kB / 5.157 GB, free: 30.48 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.002976/12.85, allocations: 1.647 MB / 5.159 GB, free: 30 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002937/12.85, allocations: 398.5 kB / 5.159 GB, free: 29.99 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01339/12.87, allocations: 4.067 MB / 5.163 GB, free: 28.86 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001643/12.87, allocations: 1.526 MB / 5.165 GB, free: 28.1 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.002659/12.87, allocations: 1.087 MB / 5.166 GB, free: 28.03 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001047/12.87, allocations: 0.7831 MB / 5.166 GB, free: 28.03 MB / 0.6355 GB Notification: Performance of SimCode: time 2.325e-06/12.87, allocations: 0 / 5.166 GB, free: 28.03 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1284/13, allocations: 69.34 MB / 5.234 GB, free: 18.14 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002184/13, allocations: 157.9 kB / 5.234 GB, free: 17.95 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.276/17.28, allocations: 0 / 5.234 GB, free: 17.95 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