Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.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.DynamicBoundaries,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Boundaries_Tests_DynamicBoundaries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Boundaries.Tests.DynamicBoundaries,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Boundaries_Tests_DynamicBoundaries",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.01054/0.01054, allocations: 171 kB / 15.11 MB, free: 6.039 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.938/1.938, 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.00121/0.001209, allocations: 86.88 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 1.076/1.076, allocations: 90.6 MB / 408.4 MB, free: 14.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006259/0.0006263, allocations: 11.98 kB / 485.3 MB, free: 1.984 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.599/0.5997, allocations: 66.27 MB / 0.5387 GB, free: 45.64 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.513/10.11, allocations: 3.553 GB / 4.092 GB, free: 120.1 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003049/10.11, allocations: 83.23 kB / 4.092 GB, free: 120.1 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.7/15.81, allocations: 1.496 GB / 5.588 GB, free: 34.91 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.276e-06/15.81, allocations: 0 / 5.588 GB, free: 34.91 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001605/15.81, allocations: 76.27 kB / 5.588 GB, free: 34.89 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 602 * Number of variables: 602 Notification: Performance of Generate backend data structure: time 0.0189/15.83, allocations: 5.541 MB / 5.594 GB, free: 32.35 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.448e-05/15.83, allocations: 13.91 kB / 5.594 GB, free: 32.35 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009884/15.83, allocations: 318 kB / 5.594 GB, free: 32.3 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003173/15.84, allocations: 0.5825 MB / 5.595 GB, free: 32.15 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002322/15.84, allocations: 1.239 MB / 5.596 GB, free: 31.75 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001027/15.84, allocations: 169.5 kB / 5.596 GB, free: 31.74 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002779/15.84, allocations: 233.7 kB / 5.596 GB, free: 31.73 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00594/15.85, allocations: 2.884 MB / 5.599 GB, free: 31.46 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.208e-05/15.85, allocations: 3.938 kB / 5.599 GB, free: 31.46 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001966/15.85, allocations: 92.16 kB / 5.599 GB, free: 31.46 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.742e-05/15.85, allocations: 62.53 kB / 5.599 GB, free: 31.46 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005037/15.85, allocations: 2.466 MB / 5.602 GB, free: 31.43 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01352/15.86, allocations: 12.64 MB / 5.614 GB, free: 23.24 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004843/15.87, allocations: 2.22 MB / 5.616 GB, free: 23.09 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05752/15.93, allocations: 32.18 MB / 5.647 GB, free: 19.24 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.894e-05/15.93, allocations: 65.78 kB / 5.648 GB, free: 19.2 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=226): time 4.158e-06/15.93, allocations: 4 kB / 5.648 GB, free: 19.19 MB / 0.6667 GB Notification: Performance of matching and sorting (n=226): time 0.0122/15.94, allocations: 5.125 MB / 5.653 GB, free: 17.8 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000122/15.94, allocations: 209.2 kB / 5.653 GB, free: 17.57 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001482/15.94, allocations: 0.9715 MB / 5.654 GB, free: 17.41 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001859/15.94, allocations: 63.45 kB / 5.654 GB, free: 17.38 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005491/15.94, allocations: 0.8782 MB / 5.655 GB, free: 17.03 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006226/15.94, allocations: 0.7533 MB / 5.655 GB, free: 16.54 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/15.94, allocations: 34.25 kB / 5.655 GB, free: 16.54 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001885/15.94, allocations: 373.5 kB / 5.656 GB, free: 16.23 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001255/15.94, allocations: 0.696 MB / 5.656 GB, free: 16.22 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001368/15.94, allocations: 0.9421 MB / 5.657 GB, free: 16 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001377/15.95, allocations: 0.8204 MB / 5.658 GB, free: 15.97 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-06/15.95, allocations: 7.516 kB / 5.658 GB, free: 15.97 MB / 0.6667 GB Notification: Performance of matching and sorting (n=250) (initialization): time 0.004259/15.95, allocations: 2.341 MB / 5.66 GB, free: 15.72 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/15.95, allocations: 11.47 kB / 5.66 GB, free: 15.72 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.578e-05/15.95, allocations: 7.062 kB / 5.66 GB, free: 15.72 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008449/15.95, allocations: 290.7 kB / 5.661 GB, free: 15.67 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001436/15.95, allocations: 374 kB / 5.661 GB, free: 15.67 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007757/15.96, allocations: 9.034 MB / 5.67 GB, free: 8.07 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002711/15.96, allocations: 223.8 kB / 5.67 GB, free: 7.969 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000234/15.96, allocations: 86.08 kB / 5.67 GB, free: 7.969 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 24 (dynamicPressureInflow1.inlet.state.phase,dynamicPressureInflow.inlet.state.phase,dynamicPressureInflow2.inlet.state.phase,dynamicPressureInflow3.inlet.state.phase,dynamicPressureInflow4.inlet.state.phase,dynamicPressureInflow5.inlet.state.phase,dynamicPressureInflow5.outlet.state.phase,flowResistance5.outlet.state.phase,dynamicPressureOutflow5.outlet.state.phase,dynamicPressureInflow4.outlet.state.phase,flowResistance4.outlet.state.phase,dynamicPressureOutflow4.outlet.state.phase,dynamicPressureInflow3.outlet.state.phase,flowResistance3.outlet.state.phase,dynamicPressureOutflow3.outlet.state.phase,dynamicPressureInflow2.outlet.state.phase,flowResistance2.outlet.state.phase,dynamicPressureOutflow2.outlet.state.phase,dynamicPressureInflow.outlet.state.phase,dynamicPressureInflow1.outlet.state.phase,flowResistance1.outlet.state.phase,dynamicPressureOutflow1.outlet.state.phase,flowResistance.outlet.state.phase,dynamicPressureOutflow.outlet.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (202): * Single equations (assignments): 190 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001985/15.97, allocations: 396.9 kB / 5.671 GB, free: 23.84 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005865/15.97, allocations: 197.1 kB / 5.671 GB, free: 23.74 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007994/15.97, allocations: 6.145 MB / 5.677 GB, free: 23.09 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.14e-05/15.97, allocations: 80.39 kB / 5.677 GB, free: 23.08 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.681e-05/15.97, allocations: 5.969 kB / 5.677 GB, free: 23.08 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.108e-05/15.97, allocations: 12.77 kB / 5.677 GB, free: 23.08 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01274/15.99, allocations: 9.512 MB / 5.686 GB, free: 21.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.351e-05/15.99, allocations: 2.844 kB / 5.686 GB, free: 21.93 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001302/15.99, allocations: 312.8 kB / 5.686 GB, free: 21.93 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009063/15.99, allocations: 316.5 kB / 5.687 GB, free: 21.87 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001603/15.99, allocations: 71.95 kB / 5.687 GB, free: 21.87 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007814/16, allocations: 9.032 MB / 5.696 GB, free: 14.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/16, allocations: 11.98 kB / 5.696 GB, free: 14.24 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008676/16.01, allocations: 5.944 MB / 5.701 GB, free: 12.96 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001149/16.01, allocations: 397.5 kB / 5.702 GB, free: 12.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002487/16.01, allocations: 53.08 kB / 5.702 GB, free: 12.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001513/16.01, allocations: 143.5 kB / 5.702 GB, free: 12.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000388/16.01, allocations: 170.7 kB / 5.702 GB, free: 12.59 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001473/16.01, allocations: 76.17 kB / 5.702 GB, free: 12.59 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001042/16.01, allocations: 0.7352 MB / 5.703 GB, free: 12.48 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/16.01, allocations: 0 / 5.703 GB, free: 12.48 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.009906/16.02, allocations: 1.893 MB / 5.705 GB, free: 12.24 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (dynamicPressureOutflow5.inlet.m_flow,dynamicPressureOutflow4.inlet.m_flow,dynamicPressureOutflow3.inlet.m_flow,dynamicPressureOutflow2.inlet.m_flow,dynamicPressureOutflow.inlet.m_flow,dynamicPressureOutflow1.inlet.m_flow) * Number of discrete variables: 42 ($cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,dynamicPressureInflow5.inlet.state.phase,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,dynamicPressureInflow4.inlet.state.phase,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,dynamicPressureInflow3.inlet.state.phase,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,dynamicPressureInflow2.inlet.state.phase,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,dynamicPressureInflow.inlet.state.phase,$cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,dynamicPressureInflow1.inlet.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (196): * Single equations (assignments): 166 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 24 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0209/16.04, allocations: 10.54 MB / 5.715 GB, free: 8.848 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006162/16.05, allocations: 3.415 MB / 5.718 GB, free: 7.844 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.167e-06/16.05, allocations: 0 / 5.718 GB, free: 7.844 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.004403/16.05, allocations: 2.794 MB / 5.721 GB, free: 6.855 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004149/16.06, allocations: 0.6872 MB / 5.722 GB, free: 6.812 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03356/16.09, allocations: 19.01 MB / 5.74 GB, free: 11.09 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001616/16.09, allocations: 1.906 MB / 5.742 GB, free: 10.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001993/16.09, allocations: 0.7335 MB / 5.743 GB, free: 10.25 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00152/16.1, allocations: 1.227 MB / 5.744 GB, free: 9.246 MB / 0.698 GB Notification: Performance of SimCode: time 1.664e-06/16.1, allocations: 0 / 5.744 GB, free: 9.246 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.698/16.79, allocations: 118.7 MB / 5.86 GB, free: 69.22 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001732/16.79, allocations: 227.5 kB / 5.86 GB, free: 68.97 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.881/23.67, allocations: 0 / 5.86 GB, free: 68.97 MB / 0.698 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.DynamicBoundaries_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_Boundaries_Tests_DynamicBoundaries_fmu --startTime=0 --stopTime=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_Boundaries_Tests_DynamicBoundaries.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_OM_adaptions_ThermofluidStream.Boundaries.Tests.DynamicBoundaries_res.mat does not exist to compare? outputFormat=mat