Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Examples.Utilities.Tests.BoilerEspresso.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.Examples.Utilities.Tests.BoilerEspresso,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Examples_Utilities_Tests_BoilerEspresso",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Examples.Utilities.Tests.BoilerEspresso,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Examples_Utilities_Tests_BoilerEspresso",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.01632/0.01632, allocations: 169.6 kB / 15.11 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.988/1.988, allocations: 205.4 MB / 221.3 MB, free: 13.82 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001288/0.001288, allocations: 90.86 kB / 269.6 MB, free: 13.35 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.9322/0.9322, allocations: 90.58 MB / 408.4 MB, free: 14.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003806/0.0003805, allocations: 12 kB / 485.3 MB, free: 1.957 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5684/0.5688, allocations: 66.28 MB / 0.5387 GB, free: 45.61 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.545/10.11, allocations: 3.575 GB / 4.114 GB, free: 99.5 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003233/10.11, allocations: 89.95 kB / 4.114 GB, free: 99.41 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.956/13.07, allocations: 0.6475 GB / 4.762 GB, free: 49.83 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.406e-06/13.07, allocations: 0 / 4.762 GB, free: 49.83 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0002346/13.07, allocations: 42.25 kB / 4.762 GB, free: 49.82 MB / 0.5886 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.0161/13.09, allocations: 3.341 MB / 4.765 GB, free: 48.14 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 6.237e-05/13.09, allocations: 10.75 kB / 4.765 GB, free: 48.14 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001169/13.09, allocations: 221.5 kB / 4.765 GB, free: 48.1 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002791/13.09, allocations: 382.4 kB / 4.765 GB, free: 47.99 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003239/13.09, allocations: 0.9473 MB / 4.766 GB, free: 47.66 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002054/13.09, allocations: 123.8 kB / 4.766 GB, free: 47.65 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007105/13.09, allocations: 163.4 kB / 4.767 GB, free: 47.65 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00629/13.1, allocations: 1.913 MB / 4.769 GB, free: 47.44 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.217e-05/13.1, allocations: 11.84 kB / 4.769 GB, free: 47.44 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003706/13.1, allocations: 64.62 kB / 4.769 GB, free: 47.44 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001233/13.1, allocations: 67.52 kB / 4.769 GB, free: 47.43 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004724/13.11, allocations: 1.692 MB / 4.77 GB, free: 47.41 MB / 0.5886 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.01234/13.12, allocations: 8.053 MB / 4.778 GB, free: 42.46 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003547/13.12, allocations: 1.43 MB / 4.78 GB, free: 42.42 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06833/13.19, allocations: 35.89 MB / 4.815 GB, free: 20.98 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00354/13.19, allocations: 0.9348 MB / 4.816 GB, free: 20.91 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=135): time 5.38e-06/13.19, allocations: 0 / 4.816 GB, free: 20.91 MB / 0.5886 GB Notification: Performance of matching and sorting (n=135): time 0.01169/13.21, allocations: 3.214 MB / 4.819 GB, free: 36.12 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001075/13.21, allocations: 120.1 kB / 4.819 GB, free: 35.99 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001675/13.21, allocations: 0.7402 MB / 4.819 GB, free: 35.84 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0002708/13.21, allocations: 55.55 kB / 4.82 GB, free: 35.81 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008107/13.21, allocations: 0.6598 MB / 4.82 GB, free: 35.53 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000612/13.21, allocations: 465.3 kB / 4.821 GB, free: 35.24 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001463/13.21, allocations: 25.94 kB / 4.821 GB, free: 35.24 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0002346/13.21, allocations: 361.9 kB / 4.821 GB, free: 34.93 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001328/13.21, allocations: 0.4997 MB / 4.821 GB, free: 34.92 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001454/13.21, allocations: 0.7177 MB / 4.822 GB, free: 34.71 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001543/13.21, allocations: 0.6218 MB / 4.823 GB, free: 34.62 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.053e-05/13.21, allocations: 0 / 4.823 GB, free: 34.62 MB / 0.6042 GB Notification: Performance of matching and sorting (n=171) (initialization): time 0.004139/13.22, allocations: 1.711 MB / 4.824 GB, free: 34.37 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.001022/13.22, allocations: 1.809 MB / 4.826 GB, free: 32.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.095e-05/13.22, allocations: 3.125 kB / 4.826 GB, free: 32.48 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000806/13.22, allocations: 205 kB / 4.826 GB, free: 32.44 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001329/13.22, allocations: 302 kB / 4.827 GB, free: 32.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007076/13.23, allocations: 6.029 MB / 4.833 GB, free: 27.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002064/13.23, allocations: 187.6 kB / 4.833 GB, free: 27.26 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003016/13.23, allocations: 63.59 kB / 4.833 GB, free: 27.26 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/13.23, allocations: 0.9062 kB / 4.833 GB, free: 27.26 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003873/13.24, allocations: 1.527 MB / 4.834 GB, free: 27.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.312e-05/13.24, allocations: 14.31 kB / 4.834 GB, free: 27.07 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006307/13.24, allocations: 200.5 kB / 4.835 GB, free: 27.04 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001191/13.24, allocations: 291.8 kB / 4.835 GB, free: 27.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005325/13.24, allocations: 6.023 MB / 4.841 GB, free: 21.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001582/13.24, allocations: 174.1 kB / 4.841 GB, free: 21.36 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001786/13.24, allocations: 53.48 kB / 4.841 GB, free: 21.34 MB / 0.6042 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.001224/13.25, allocations: 428.1 kB / 4.841 GB, free: 21.01 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004493/13.25, allocations: 129.3 kB / 4.841 GB, free: 20.94 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006566/13.25, allocations: 4.149 MB / 4.846 GB, free: 19.02 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.036e-05/13.25, allocations: 55.27 kB / 4.846 GB, free: 19 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.917e-05/13.25, allocations: 2.719 kB / 4.846 GB, free: 19 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.102e-05/13.25, allocations: 11.41 kB / 4.846 GB, free: 19 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009574/13.26, allocations: 6.229 MB / 4.852 GB, free: 16.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.309e-05/13.26, allocations: 0 / 4.852 GB, free: 16.07 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009818/13.26, allocations: 228.8 kB / 4.852 GB, free: 16.04 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001337/13.26, allocations: 0.7436 MB / 4.853 GB, free: 15.87 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001485/13.27, allocations: 48.25 kB / 4.853 GB, free: 15.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007134/13.27, allocations: 6.98 MB / 4.859 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/13.27, allocations: 7.766 kB / 4.859 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008451/13.28, allocations: 4.1 MB / 4.863 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001514/13.28, allocations: 420.3 kB / 4.864 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005985/13.28, allocations: 34.25 kB / 4.864 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001824/13.28, allocations: 139.3 kB / 4.864 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004384/13.29, allocations: 127.8 kB / 4.864 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001563/13.29, allocations: 53.11 kB / 4.864 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001204/13.29, allocations: 0.5563 MB / 4.865 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/13.29, allocations: 0 / 4.865 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.009927/13.3, allocations: 1.834 MB / 4.867 GB, free: 22.41 MB / 0.6198 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.02017/13.32, allocations: 6.661 MB / 4.873 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.009304/13.33, allocations: 3.724 MB / 4.877 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.216e-05/13.33, allocations: 0 / 4.877 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.00372/13.33, allocations: 1.787 MB / 4.878 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003201/13.33, allocations: 437.2 kB / 4.879 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03059/13.36, allocations: 13.82 MB / 4.892 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002058/13.37, allocations: 1.53 MB / 4.894 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.002862/13.37, allocations: 1.022 MB / 4.895 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001578/13.37, allocations: 0.7919 MB / 4.896 GB, free: 12.97 MB / 0.6355 GB Notification: Performance of SimCode: time 2.044e-06/13.37, allocations: 0 / 4.896 GB, free: 12.97 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6136/13.98, allocations: 78.57 MB / 4.972 GB, free: 80.01 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001775/13.98, allocations: 239.3 kB / 4.973 GB, free: 79.77 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.526/19.51, allocations: 2.75 kB / 4.973 GB, free: 79.77 MB / 0.6355 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Examples.Utilities.Tests.BoilerEspresso.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Examples.Utilities.Tests.BoilerEspresso.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Examples.Utilities.Tests.BoilerEspresso.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Examples.Utilities.Tests.BoilerEspresso.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.Examples.Utilities.Tests.BoilerEspresso_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_Examples_Utilities_Tests_BoilerEspresso_fmu --startTime=0 --stopTime=1000 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_Examples_Utilities_Tests_BoilerEspresso.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.Examples.Utilities.Tests.BoilerEspresso.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_OM_adaptions_ThermofluidStream.Examples.Utilities.Tests.BoilerEspresso_res.mat does not exist to compare? outputFormat=mat