Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.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.Boundaries.Tests.TerminalSourceSink,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Boundaries_Tests_TerminalSourceSink",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Boundaries.Tests.TerminalSourceSink,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Boundaries_Tests_TerminalSourceSink",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.00121/0.00121, allocations: 174.6 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.866/1.866, allocations: 205.2 MB / 218.5 MB, free: 9.223 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.0008821/0.0008824, allocations: 75.28 kB / 266.6 MB, free: 9.301 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 1.001/1.001, allocations: 90.34 MB / 405 MB, free: 8.645 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.683e-05/4.686e-05, allocations: 4 kB / 479.3 MB, free: 14.25 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4991/0.4991, allocations: 66.25 MB / 0.5327 GB, free: 28.64 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.383/1.882, allocations: 431.7 MB / 0.9543 GB, free: 212.6 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002103/1.883, allocations: 79.89 kB / 0.9544 GB, free: 212.6 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.09541/1.978, allocations: 47.24 MB / 1.001 GB, free: 164.8 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.946e-06/1.978, allocations: 0 / 1.001 GB, free: 164.8 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 2.349e-05/1.978, allocations: 4 kB / 1.001 GB, free: 164.8 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001132/1.979, allocations: 0.5081 MB / 1.001 GB, free: 164.3 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 6.361e-05/1.979, allocations: 12.03 kB / 1.001 GB, free: 164.2 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.74e-05/1.979, allocations: 46.55 kB / 1.001 GB, free: 164.2 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.765e-05/1.98, allocations: 19.72 kB / 1.001 GB, free: 164.2 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003246/1.98, allocations: 215.8 kB / 1.001 GB, free: 163.9 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.359e-05/1.98, allocations: 12.22 kB / 1.001 GB, free: 163.9 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.743e-05/1.98, allocations: 12 kB / 1.001 GB, free: 163.9 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002935/1.98, allocations: 152.2 kB / 1.001 GB, free: 163.7 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/1.98, allocations: 4 kB / 1.001 GB, free: 163.7 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.955e-05/1.98, allocations: 0 / 1.001 GB, free: 163.7 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/1.98, allocations: 4 kB / 1.002 GB, free: 163.7 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001615/1.981, allocations: 80.88 kB / 1.002 GB, free: 163.7 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009792/1.981, allocations: 0.7804 MB / 1.002 GB, free: 162.8 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001642/1.982, allocations: 86.48 kB / 1.002 GB, free: 162.7 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.411e-05/1.982, allocations: 32.86 kB / 1.002 GB, free: 162.6 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001231/1.982, allocations: 81.06 kB / 1.003 GB, free: 162.5 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001783/1.982, allocations: 87.38 kB / 1.003 GB, free: 162.4 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=9): time 1.783e-06/1.982, allocations: 0 / 1.003 GB, free: 162.4 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9): time 0.0002668/1.982, allocations: 105.4 kB / 1.003 GB, free: 162.3 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.759e-05/1.982, allocations: 55.41 kB / 1.003 GB, free: 162.3 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000156/1.983, allocations: 165.9 kB / 1.003 GB, free: 162.1 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/1.983, allocations: 25.7 kB / 1.003 GB, free: 162.1 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.873e-05/1.983, allocations: 148 kB / 1.003 GB, free: 161.9 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.376e-05/1.983, allocations: 27.69 kB / 1.003 GB, free: 161.9 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.001e-05/1.983, allocations: 8 kB / 1.003 GB, free: 161.9 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.278e-05/1.983, allocations: 326.8 kB / 1.003 GB, free: 161.6 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.072e-05/1.983, allocations: 35.94 kB / 1.003 GB, free: 161.5 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.644e-05/1.983, allocations: 74.69 kB / 1.004 GB, free: 161.4 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.463e-05/1.983, allocations: 77.62 kB / 1.004 GB, free: 161.3 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/1.983, allocations: 0 / 1.004 GB, free: 161.3 MB / 0.5886 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000275/1.983, allocations: 191 kB / 1.004 GB, free: 161.1 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.362e-05/1.983, allocations: 29.7 kB / 1.004 GB, free: 161.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/1.983, allocations: 8 kB / 1.004 GB, free: 161.1 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/1.983, allocations: 160 / 1.004 GB, free: 161.1 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001654/1.984, allocations: 35.97 kB / 1.004 GB, free: 161.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/1.984, allocations: 4 kB / 1.004 GB, free: 161.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001705/1.984, allocations: 31.77 kB / 1.004 GB, free: 161 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.63e-05/1.984, allocations: 7.938 kB / 1.004 GB, free: 161 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.431e-05/1.984, allocations: 116.7 kB / 1.004 GB, free: 160.9 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.515e-05/1.984, allocations: 23.77 kB / 1.004 GB, free: 160.9 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002063/1.984, allocations: 111.1 kB / 1.004 GB, free: 160.8 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/1.984, allocations: 0 / 1.004 GB, free: 160.8 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/1.984, allocations: 4 kB / 1.004 GB, free: 160.8 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/1.984, allocations: 0 / 1.004 GB, free: 160.8 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000177/1.984, allocations: 229.5 kB / 1.004 GB, free: 160.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/1.984, allocations: 0 / 1.004 GB, free: 160.5 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001149/1.984, allocations: 19.98 kB / 1.004 GB, free: 160.5 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/1.985, allocations: 3.953 kB / 1.004 GB, free: 160.5 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/1.985, allocations: 4 kB / 1.004 GB, free: 160.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/1.985, allocations: 4 kB / 1.004 GB, free: 160.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.552e-06/1.985, allocations: 0 / 1.004 GB, free: 160.5 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002443/1.985, allocations: 164.8 kB / 1.005 GB, free: 160.3 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.832e-05/1.985, allocations: 89.03 kB / 1.005 GB, free: 160.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.01e-05/1.985, allocations: 7.953 kB / 1.005 GB, free: 160.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001219/1.985, allocations: 23.95 kB / 1.005 GB, free: 160.1 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.44e-05/1.985, allocations: 11.97 kB / 1.005 GB, free: 160.1 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/1.985, allocations: 8 kB / 1.005 GB, free: 160.1 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 9.134e-05/1.985, allocations: 136.2 kB / 1.005 GB, free: 160 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.2e-07/1.985, allocations: 0 / 1.005 GB, free: 160 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002836/1.985, allocations: 51.94 kB / 1.005 GB, free: 159.9 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (terminalSource.p) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006387/1.986, allocations: 0.8092 MB / 1.006 GB, free: 159.1 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002475/1.986, allocations: 139.3 kB / 1.006 GB, free: 159 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/1.986, allocations: 0 / 1.006 GB, free: 159 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.064e-05/1.986, allocations: 40.19 kB / 1.006 GB, free: 158.9 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002953/1.987, allocations: 48.05 kB / 1.006 GB, free: 158.9 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008209/1.988, allocations: 299.9 kB / 1.006 GB, free: 158.5 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002105/1.988, allocations: 0.7204 MB / 1.007 GB, free: 157.8 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 8.641e-05/1.988, allocations: 17.2 kB / 1.007 GB, free: 157.8 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.246e-05/1.988, allocations: 47.42 kB / 1.007 GB, free: 157.7 MB / 0.5886 GB Notification: Performance of SimCode: time 6.32e-07/1.988, allocations: 0 / 1.007 GB, free: 157.7 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01821/2.006, allocations: 5.72 MB / 1.013 GB, free: 152.1 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001776/2.006, allocations: 180.2 kB / 1.013 GB, free: 151.9 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.972/3.979, allocations: 0 / 1.013 GB, free: 151.9 MB / 0.5886 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.TerminalSourceSink_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_Boundaries_Tests_TerminalSourceSink_fmu --startTime=0 --stopTime=10 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_Boundaries_Tests_TerminalSourceSink.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.TerminalSourceSink_res.mat does not exist to compare? outputFormat=mat