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.00132/0.001321, allocations: 174.5 kB / 12.73 MB, free: 2.59 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.74/1.74, allocations: 205.2 MB / 218.5 MB, free: 9.148 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.0008595/0.0008595, allocations: 87.77 kB / 266.6 MB, free: 9.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.8496/0.8496, allocations: 90.35 MB / 405 MB, free: 8.633 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.811e-05/3.815e-05, allocations: 0 / 479.3 MB, free: 14.23 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4283/0.4284, allocations: 66.25 MB / 0.5327 GB, free: 28.6 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.41/10.84, allocations: 3.575 GB / 4.108 GB, free: 141 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003066/10.84, allocations: 88.41 kB / 4.108 GB, free: 141 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.041/13.88, allocations: 0.6457 GB / 4.754 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.417e-06/13.88, allocations: 2.844 kB / 4.754 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0003402/13.88, allocations: 42.53 kB / 4.754 GB, free: 60.84 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.01505/13.89, allocations: 3.183 MB / 4.757 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/13.89, allocations: 8.25 kB / 4.757 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008826/13.89, allocations: 219.5 kB / 4.757 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002888/13.9, allocations: 377.2 kB / 4.757 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003194/13.9, allocations: 0.9453 MB / 4.758 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002366/13.9, allocations: 127.3 kB / 4.758 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006293/13.9, allocations: 156 kB / 4.759 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005928/13.91, allocations: 1.882 MB / 4.76 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.035e-05/13.91, allocations: 3.156 kB / 4.76 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002371/13.91, allocations: 63.44 kB / 4.76 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001238/13.91, allocations: 60.66 kB / 4.761 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00439/13.91, allocations: 1.568 MB / 4.762 GB, free: 58.8 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.01303/13.92, allocations: 8.038 MB / 4.77 GB, free: 53.88 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003441/13.93, allocations: 1.329 MB / 4.771 GB, free: 53.84 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001027/13.93, allocations: 0.5751 MB / 4.772 GB, free: 53.83 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07252/14, allocations: 36.08 MB / 4.807 GB, free: 33.06 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004126/14.01, allocations: 0.9042 MB / 4.808 GB, free: 33 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=135): time 7.203e-06/14.01, allocations: 0 / 4.808 GB, free: 33 MB / 0.6042 GB Notification: Performance of matching and sorting (n=135): time 0.006843/14.01, allocations: 1.908 MB / 4.81 GB, free: 32.82 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.358e-05/14.01, allocations: 122.3 kB / 4.81 GB, free: 32.68 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001865/14.02, allocations: 0.7253 MB / 4.811 GB, free: 32.53 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.000283/14.02, allocations: 55.8 kB / 4.811 GB, free: 32.5 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008474/14.02, allocations: 0.6682 MB / 4.811 GB, free: 32.21 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006172/14.02, allocations: 462.4 kB / 4.812 GB, free: 31.93 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001322/14.02, allocations: 28 kB / 4.812 GB, free: 31.93 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001444/14.02, allocations: 353.2 kB / 4.812 GB, free: 31.62 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009361/14.02, allocations: 413.4 kB / 4.812 GB, free: 31.62 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001114/14.02, allocations: 0.6288 MB / 4.813 GB, free: 31.42 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001101/14.02, allocations: 0.5434 MB / 4.814 GB, free: 31.33 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-05/14.02, allocations: 3.625 kB / 4.814 GB, free: 31.33 MB / 0.6042 GB Notification: Performance of matching and sorting (n=171) (initialization): time 0.003445/14.02, allocations: 1.525 MB / 4.815 GB, free: 31.1 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006516/14.02, allocations: 1.81 MB / 4.817 GB, free: 29.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.258e-05/14.02, allocations: 7.219 kB / 4.817 GB, free: 29.22 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007883/14.03, allocations: 193.6 kB / 4.817 GB, free: 29.19 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001291/14.03, allocations: 298.1 kB / 4.817 GB, free: 29.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004781/14.03, allocations: 5.947 MB / 4.823 GB, free: 24.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001853/14.03, allocations: 195.1 kB / 4.823 GB, free: 24.08 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002123/14.03, allocations: 62.67 kB / 4.823 GB, free: 24.08 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/14.03, allocations: 3.438 kB / 4.823 GB, free: 24.08 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002901/14.04, allocations: 1.39 MB / 4.825 GB, free: 23.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.726e-05/14.04, allocations: 6.875 kB / 4.825 GB, free: 23.95 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005849/14.04, allocations: 207.7 kB / 4.825 GB, free: 23.91 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001152/14.04, allocations: 286.9 kB / 4.825 GB, free: 23.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006991/14.05, allocations: 5.95 MB / 4.831 GB, free: 34.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001973/14.05, allocations: 175.6 kB / 4.831 GB, free: 34.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002924/14.05, allocations: 61.55 kB / 4.831 GB, free: 34.81 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.0007413/14.05, allocations: 196.5 kB / 4.831 GB, free: 34.7 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006168/14.05, allocations: 127.7 kB / 4.832 GB, free: 34.63 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006952/14.06, allocations: 4.035 MB / 4.836 GB, free: 34.21 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.795e-05/14.06, allocations: 51.61 kB / 4.836 GB, free: 34.21 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.209e-05/14.06, allocations: 7.734 kB / 4.836 GB, free: 34.21 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.416e-05/14.06, allocations: 7.406 kB / 4.836 GB, free: 34.21 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01034/14.07, allocations: 6.17 MB / 4.842 GB, free: 33.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.168e-05/14.07, allocations: 2.906 kB / 4.842 GB, free: 33.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001019/14.07, allocations: 220.2 kB / 4.842 GB, free: 33.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001328/14.07, allocations: 0.8549 MB / 4.843 GB, free: 33.54 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001451/14.07, allocations: 41.55 kB / 4.843 GB, free: 33.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007274/14.08, allocations: 6.946 MB / 4.85 GB, free: 27.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/14.08, allocations: 0 / 4.85 GB, free: 27.95 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007723/14.08, allocations: 4.239 MB / 4.854 GB, free: 27.44 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001275/14.09, allocations: 427.2 kB / 4.854 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004538/14.09, allocations: 30.19 kB / 4.854 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001549/14.09, allocations: 138.7 kB / 4.854 GB, free: 27.19 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003689/14.09, allocations: 128.8 kB / 4.854 GB, free: 27.19 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001352/14.09, allocations: 47.86 kB / 4.854 GB, free: 27.19 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001194/14.09, allocations: 0.557 MB / 4.855 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.01e-07/14.09, allocations: 0 / 4.855 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.01033/14.1, allocations: 1.831 MB / 4.857 GB, free: 26.79 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) * 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.01876/14.12, allocations: 6.373 MB / 4.863 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.007768/14.13, allocations: 3.512 MB / 4.866 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 9.057e-06/14.13, allocations: 0 / 4.866 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.003034/14.13, allocations: 1.69 MB / 4.868 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003174/14.13, allocations: 427.7 kB / 4.868 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01481/14.15, allocations: 4.208 MB / 4.873 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001919/14.15, allocations: 1.533 MB / 4.874 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.003081/14.15, allocations: 1.084 MB / 4.875 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001242/14.15, allocations: 0.7846 MB / 4.876 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of SimCode: time 1.403e-06/14.15, allocations: 0 / 4.876 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1585/14.31, allocations: 85.1 MB / 4.959 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002196/14.31, allocations: 207.5 kB / 4.959 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.585/19.9, allocations: 0 / 4.959 GB, free: 12.44 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