Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo) Using package ObsoleteModelica4 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.Boundaries.Tests.DynamicBoundaries,fileNamePrefix="ThermofluidStream_ThermofluidStream_Boundaries_Tests_DynamicBoundaries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Boundaries.Tests.DynamicBoundaries,fileNamePrefix="ThermofluidStream_ThermofluidStream_Boundaries_Tests_DynamicBoundaries",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01258/0.01258, allocations: 172 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.544/1.544, allocations: 223.2 MB / 239 MB, free: 104 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009827/0.0009824, allocations: 92.95 kB / 290.2 MB, free: 4.492 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo): time 0.01179/0.01179, allocations: 1.553 MB / 342.9 MB, free: 11.39 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.8134/0.8134, allocations: 90.31 MB / 484.6 MB, free: 38.27 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000494/0.0004941, allocations: 20 kB / 0.5527 GB, free: 4.859 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4115/0.4121, allocations: 69.34 MB / 0.6204 GB, free: 20.58 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.53/10.95, allocations: 3.774 GB / 4.394 GB, free: 159.9 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000288/10.95, allocations: 80.16 kB / 4.394 GB, free: 159.9 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.389/17.34, allocations: 1.516 GB / 5.91 GB, free: 44.16 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.677e-06/17.34, allocations: 0 / 5.91 GB, free: 44.16 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.000456/17.34, allocations: 74.91 kB / 5.91 GB, free: 44.15 MB / 0.6823 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.02877/17.36, allocations: 5.547 MB / 5.915 GB, free: 41.61 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 8.633e-05/17.36, allocations: 14.89 kB / 5.915 GB, free: 41.6 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002003/17.37, allocations: 320.9 kB / 5.916 GB, free: 41.55 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004829/17.37, allocations: 0.5732 MB / 5.916 GB, free: 41.41 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004931/17.38, allocations: 1.243 MB / 5.917 GB, free: 41 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002958/17.38, allocations: 174.3 kB / 5.918 GB, free: 40.99 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001153/17.38, allocations: 234.7 kB / 5.918 GB, free: 40.98 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009988/17.39, allocations: 2.884 MB / 5.921 GB, free: 40.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001081/17.39, allocations: 1.875 kB / 5.921 GB, free: 40.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004995/17.39, allocations: 91.81 kB / 5.921 GB, free: 40.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.681e-05/17.39, allocations: 67.89 kB / 5.921 GB, free: 40.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006673/17.4, allocations: 2.455 MB / 5.923 GB, free: 40.68 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02165/17.42, allocations: 12.65 MB / 5.935 GB, free: 32.48 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006337/17.42, allocations: 2.228 MB / 5.938 GB, free: 32.32 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06356/17.49, allocations: 32.18 MB / 5.969 GB, free: 28.36 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.297e-05/17.49, allocations: 64.92 kB / 5.969 GB, free: 28.31 MB / 0.698 GB Notification: Performance of pre-optimization done (n=226): time 6.001e-06/17.49, allocations: 3.812 kB / 5.969 GB, free: 28.31 MB / 0.698 GB Notification: Performance of matching and sorting (n=226): time 0.01501/17.5, allocations: 5.134 MB / 5.974 GB, free: 26.91 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002292/17.5, allocations: 215.4 kB / 5.974 GB, free: 26.68 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002194/17.51, allocations: 0.9627 MB / 5.975 GB, free: 26.53 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003958/17.51, allocations: 61.52 kB / 5.975 GB, free: 26.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008706/17.51, allocations: 0.8751 MB / 5.976 GB, free: 26.15 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008201/17.51, allocations: 0.7549 MB / 5.977 GB, free: 25.65 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001104/17.51, allocations: 36.25 kB / 5.977 GB, free: 25.65 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002335/17.51, allocations: 379.5 kB / 5.977 GB, free: 25.34 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001499/17.51, allocations: 0.6956 MB / 5.978 GB, free: 25.34 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001486/17.51, allocations: 0.9494 MB / 5.979 GB, free: 25.11 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001486/17.51, allocations: 0.8155 MB / 5.98 GB, free: 25.07 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.634e-06/17.51, allocations: 3.938 kB / 5.98 GB, free: 25.07 MB / 0.698 GB Notification: Performance of matching and sorting (n=250) (initialization): time 0.004765/17.52, allocations: 2.338 MB / 5.982 GB, free: 24.83 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.974e-05/17.52, allocations: 7.25 kB / 5.982 GB, free: 24.83 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.572e-05/17.52, allocations: 6.094 kB / 5.982 GB, free: 24.83 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009671/17.52, allocations: 301 kB / 5.982 GB, free: 24.78 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001503/17.52, allocations: 371.2 kB / 5.983 GB, free: 24.77 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008748/17.53, allocations: 9.025 MB / 5.991 GB, free: 17.14 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003054/17.53, allocations: 221 kB / 5.992 GB, free: 17.04 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004725/17.53, allocations: 82.27 kB / 5.992 GB, free: 17.04 MB / 0.698 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.001913/17.53, allocations: 407.1 kB / 5.992 GB, free: 16.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001251/17.54, allocations: 186.3 kB / 5.992 GB, free: 16.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01077/17.55, allocations: 6.163 MB / 5.998 GB, free: 16.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001315/17.55, allocations: 73.72 kB / 5.998 GB, free: 16.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-05/17.55, allocations: 13.55 kB / 5.998 GB, free: 16.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.263e-05/17.55, allocations: 16.42 kB / 5.998 GB, free: 16.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01723/17.56, allocations: 9.51 MB / 6.008 GB, free: 14.91 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.652e-05/17.56, allocations: 2.969 kB / 6.008 GB, free: 14.91 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001498/17.56, allocations: 323.1 kB / 6.008 GB, free: 14.89 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001072/17.57, allocations: 308.8 kB / 6.008 GB, free: 14.83 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002924/17.57, allocations: 69.86 kB / 6.008 GB, free: 14.83 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009186/17.58, allocations: 9.035 MB / 6.017 GB, free: 7.195 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.416e-06/17.58, allocations: 11.08 kB / 6.017 GB, free: 7.191 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01291/17.59, allocations: 5.955 MB / 6.023 GB, free: 21.89 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00145/17.59, allocations: 389.7 kB / 6.023 GB, free: 21.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008402/17.59, allocations: 46.53 kB / 6.023 GB, free: 21.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002595/17.59, allocations: 144.4 kB / 6.024 GB, free: 21.54 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006825/17.59, allocations: 181.2 kB / 6.024 GB, free: 21.53 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003202/17.59, allocations: 76.47 kB / 6.024 GB, free: 21.53 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001766/17.6, allocations: 0.7312 MB / 6.025 GB, free: 21.42 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.81e-07/17.6, allocations: 0 / 6.025 GB, free: 21.42 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.01168/17.61, allocations: 1.898 MB / 6.026 GB, free: 21.18 MB / 0.7136 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.0285/17.64, allocations: 10.54 MB / 6.037 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.007873/17.64, allocations: 3.41 MB / 6.04 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.207e-06/17.64, allocations: 2.844 kB / 6.04 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.004906/17.65, allocations: 2.789 MB / 6.043 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005447/17.66, allocations: 0.6807 MB / 6.043 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0487/17.7, allocations: 19.04 MB / 6.062 GB, free: 9.926 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00368/17.71, allocations: 1.896 MB / 6.064 GB, free: 8.426 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.003045/17.71, allocations: 0.7354 MB / 6.065 GB, free: 7.973 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002629/17.71, allocations: 1.23 MB / 6.066 GB, free: 6.84 MB / 0.7292 GB Notification: Performance of SimCode: time 2.034e-06/17.71, allocations: 0 / 6.066 GB, free: 6.84 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7834/18.5, allocations: 118.6 MB / 6.182 GB, free: 77.99 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001656/18.5, allocations: 207.6 kB / 6.182 GB, free: 77.75 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.657/25.15, allocations: 4 kB / 6.182 GB, free: 77.75 MB / 0.7292 GB (rm -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.pipe >> ../files/ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_Boundaries_Tests_DynamicBoundaries_fmu --startTime=0 --stopTime=1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_Boundaries_Tests_DynamicBoundaries.fmu > ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ThermofluidStream_ThermofluidStream.Boundaries.Tests.DynamicBoundaries_res.mat does not exist to compare? outputFormat=mat