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.001486/0.001486, allocations: 174.7 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.61/1.61, allocations: 205.2 MB / 218.5 MB, free: 9.211 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.0008154/0.0008153, allocations: 94.67 kB / 266.6 MB, free: 9.262 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.8646/0.8646, allocations: 90.33 MB / 405 MB, free: 8.637 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.648e-05/3.65e-05, allocations: 4 kB / 479.3 MB, free: 14.23 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4783/0.4783, allocations: 66.25 MB / 0.5327 GB, free: 28.57 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.112/9.59, allocations: 3.553 GB / 4.086 GB, free: 146.8 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001931/9.591, allocations: 82.42 kB / 4.086 GB, free: 146.8 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.83/15.42, allocations: 1.491 GB / 5.578 GB, free: 34.44 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.655e-06/15.42, allocations: 3.188 kB / 5.578 GB, free: 34.44 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0003523/15.42, allocations: 74.69 kB / 5.578 GB, free: 34.42 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.02445/15.45, allocations: 5.346 MB / 5.583 GB, free: 32.01 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.331e-05/15.45, allocations: 9.688 kB / 5.583 GB, free: 32.01 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001555/15.45, allocations: 321.3 kB / 5.583 GB, free: 31.96 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004423/15.45, allocations: 0.573 MB / 5.584 GB, free: 31.81 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004402/15.46, allocations: 1.23 MB / 5.585 GB, free: 31.41 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003196/15.46, allocations: 173.2 kB / 5.585 GB, free: 31.41 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001101/15.46, allocations: 230.4 kB / 5.585 GB, free: 31.4 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01001/15.47, allocations: 2.919 MB / 5.588 GB, free: 31.12 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001521/15.47, allocations: 2.906 kB / 5.588 GB, free: 31.12 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000619/15.47, allocations: 90.78 kB / 5.588 GB, free: 31.12 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.84e-05/15.47, allocations: 71.09 kB / 5.588 GB, free: 31.12 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006019/15.47, allocations: 2.404 MB / 5.591 GB, free: 31.1 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01468/15.49, allocations: 12.65 MB / 5.603 GB, free: 22.88 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004977/15.49, allocations: 2.273 MB / 5.605 GB, free: 22.71 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00157/15.5, allocations: 1.034 MB / 5.606 GB, free: 22.66 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06257/15.56, allocations: 32.34 MB / 5.638 GB, free: 18.57 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.086e-05/15.56, allocations: 70.58 kB / 5.638 GB, free: 18.52 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=226): time 5.922e-06/15.56, allocations: 0 / 5.638 GB, free: 18.52 MB / 0.6667 GB Notification: Performance of matching and sorting (n=226): time 0.00944/15.57, allocations: 3.279 MB / 5.641 GB, free: 18.25 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001573/15.57, allocations: 208.3 kB / 5.641 GB, free: 18.02 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001702/15.57, allocations: 0.9525 MB / 5.642 GB, free: 17.86 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001876/15.57, allocations: 62.48 kB / 5.642 GB, free: 17.83 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006274/15.57, allocations: 0.8798 MB / 5.643 GB, free: 17.47 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008523/15.57, allocations: 0.7438 MB / 5.644 GB, free: 16.98 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/15.57, allocations: 37 kB / 5.644 GB, free: 16.98 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002232/15.57, allocations: 380.4 kB / 5.644 GB, free: 16.68 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001264/15.57, allocations: 0.6076 MB / 5.645 GB, free: 16.68 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0013/15.58, allocations: 0.863 MB / 5.646 GB, free: 16.46 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001277/15.58, allocations: 0.7322 MB / 5.646 GB, free: 16.43 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.899e-06/15.58, allocations: 7.172 kB / 5.646 GB, free: 16.42 MB / 0.6667 GB Notification: Performance of matching and sorting (n=250) (initialization): time 0.004473/15.58, allocations: 2.179 MB / 5.649 GB, free: 16.13 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.972e-05/15.58, allocations: 10.56 kB / 5.649 GB, free: 16.13 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.484e-05/15.58, allocations: 3.719 kB / 5.649 GB, free: 16.13 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009346/15.58, allocations: 301.2 kB / 5.649 GB, free: 16.08 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001386/15.58, allocations: 369 kB / 5.649 GB, free: 16.05 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007856/15.59, allocations: 8.915 MB / 5.658 GB, free: 8.426 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002675/15.59, allocations: 227.9 kB / 5.658 GB, free: 8.32 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002492/15.59, allocations: 81.88 kB / 5.658 GB, free: 8.32 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 () * 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.0004724/15.59, allocations: 225.7 kB / 5.658 GB, free: 8.18 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000502/15.6, allocations: 189.5 kB / 5.659 GB, free: 8.078 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007807/15.6, allocations: 5.96 MB / 5.664 GB, free: 7.414 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.427e-05/15.6, allocations: 80.44 kB / 5.665 GB, free: 7.414 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.838e-05/15.6, allocations: 3.781 kB / 5.665 GB, free: 7.414 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-05/15.6, allocations: 15.45 kB / 5.665 GB, free: 7.414 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01351/15.62, allocations: 9.328 MB / 5.674 GB, free: 22.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.278e-05/15.62, allocations: 3.25 kB / 5.674 GB, free: 22.25 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001258/15.62, allocations: 312.2 kB / 5.674 GB, free: 22.24 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009252/15.62, allocations: 306 kB / 5.674 GB, free: 22.18 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000163/15.62, allocations: 72.16 kB / 5.674 GB, free: 22.18 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008001/15.63, allocations: 8.934 MB / 5.683 GB, free: 14.54 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.763e-06/15.63, allocations: 10.94 kB / 5.683 GB, free: 14.54 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008745/15.64, allocations: 5.698 MB / 5.689 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001351/15.64, allocations: 390 kB / 5.689 GB, free: 11.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002669/15.64, allocations: 51.2 kB / 5.689 GB, free: 11.24 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001434/15.64, allocations: 137.1 kB / 5.689 GB, free: 11.18 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004469/15.64, allocations: 170.2 kB / 5.689 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001513/15.64, allocations: 80.03 kB / 5.689 GB, free: 11.13 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001077/15.64, allocations: 0.7197 MB / 5.69 GB, free: 10.83 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.51e-07/15.64, allocations: 0 / 5.69 GB, free: 10.83 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0102/15.65, allocations: 1.909 MB / 5.692 GB, free: 10.38 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 () * 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.02338/15.67, allocations: 10.28 MB / 5.702 GB, free: 2.875 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00689/15.68, allocations: 3.225 MB / 5.705 GB, free: 15.65 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.02e-05/15.68, allocations: 7.938 kB / 5.705 GB, free: 15.64 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.004399/15.69, allocations: 2.69 MB / 5.708 GB, free: 12.96 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004802/15.69, allocations: 0.6871 MB / 5.708 GB, free: 12.46 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01963/15.71, allocations: 6.019 MB / 5.714 GB, free: 7.09 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001797/15.71, allocations: 1.903 MB / 5.716 GB, free: 5.582 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002258/15.71, allocations: 0.7336 MB / 5.717 GB, free: 5.137 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002101/15.72, allocations: 1.222 MB / 5.718 GB, free: 4.008 MB / 0.698 GB Notification: Performance of SimCode: time 2.174e-06/15.72, allocations: 0 / 5.718 GB, free: 4.008 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8715/16.59, allocations: 128.6 MB / 5.844 GB, free: 68.46 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001849/16.59, allocations: 195.8 kB / 5.844 GB, free: 68.23 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.879/23.47, allocations: 6.25 kB / 5.844 GB, free: 68.23 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