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.001634/0.001634, 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 4.0.0+maint.om/package.mo): time 1.708/1.708, allocations: 221.4 MB / 234.6 MB, free: 14.39 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009799/0.00098, allocations: 97.88 kB / 285.6 MB, free: 12.98 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.01266/0.01266, allocations: 1.558 MB / 338 MB, free: 8.473 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.7074/0.7074, allocations: 90.03 MB / 479.3 MB, free: 2.98 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 4.728e-05/4.73e-05, allocations: 7.984 kB / 0.5446 GB, free: 7.895 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2243/0.2244, allocations: 69.35 MB / 0.6123 GB, free: 2.453 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.41/10.63, allocations: 3.774 GB / 4.386 GB, free: 35.23 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003297/10.63, allocations: 77.64 kB / 4.386 GB, free: 35.19 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.579/17.21, allocations: 1.511 GB / 5.897 GB, free: 44.17 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.388e-06/17.21, allocations: 0 / 5.897 GB, free: 44.17 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003576/17.21, allocations: 76 kB / 5.897 GB, free: 44.17 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.02404/17.24, allocations: 5.342 MB / 5.902 GB, free: 42.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.653e-05/17.24, allocations: 20.27 kB / 5.902 GB, free: 42.09 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001121/17.24, allocations: 325.4 kB / 5.903 GB, free: 42.04 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003992/17.24, allocations: 0.5719 MB / 5.903 GB, free: 41.89 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003216/17.25, allocations: 1.235 MB / 5.904 GB, free: 41.48 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002418/17.25, allocations: 173 kB / 5.905 GB, free: 41.48 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004919/17.25, allocations: 229.4 kB / 5.905 GB, free: 41.47 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00698/17.25, allocations: 2.919 MB / 5.908 GB, free: 41.19 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.632e-05/17.25, allocations: 5.125 kB / 5.908 GB, free: 41.19 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002076/17.25, allocations: 96.39 kB / 5.908 GB, free: 41.19 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.747e-05/17.25, allocations: 63.97 kB / 5.908 GB, free: 41.19 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006008/17.26, allocations: 2.408 MB / 5.91 GB, free: 41.17 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0189/17.28, allocations: 12.64 MB / 5.922 GB, free: 32.98 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005101/17.28, allocations: 2.276 MB / 5.925 GB, free: 32.82 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00167/17.29, allocations: 1.034 MB / 5.926 GB, free: 32.77 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05803/17.34, allocations: 32.34 MB / 5.957 GB, free: 29.22 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.11e-05/17.34, allocations: 58.34 kB / 5.957 GB, free: 29.18 MB / 0.698 GB Notification: Performance of pre-optimization done (n=226): time 3.868e-06/17.34, allocations: 3.875 kB / 5.957 GB, free: 29.18 MB / 0.698 GB Notification: Performance of matching and sorting (n=226): time 0.01045/17.35, allocations: 3.281 MB / 5.961 GB, free: 28.94 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002023/17.36, allocations: 207.3 kB / 5.961 GB, free: 28.72 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002192/17.36, allocations: 0.9584 MB / 5.962 GB, free: 28.55 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002252/17.36, allocations: 56.61 kB / 5.962 GB, free: 28.52 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006985/17.36, allocations: 0.8721 MB / 5.963 GB, free: 28.18 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007671/17.36, allocations: 0.7534 MB / 5.963 GB, free: 27.68 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001104/17.36, allocations: 34.19 kB / 5.963 GB, free: 27.68 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002255/17.36, allocations: 381.8 kB / 5.964 GB, free: 27.38 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001284/17.36, allocations: 0.6089 MB / 5.964 GB, free: 27.37 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001322/17.36, allocations: 0.864 MB / 5.965 GB, free: 27.16 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001281/17.36, allocations: 0.7435 MB / 5.966 GB, free: 27.13 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.706e-06/17.36, allocations: 4.906 kB / 5.966 GB, free: 27.13 MB / 0.698 GB Notification: Performance of matching and sorting (n=250) (initialization): time 0.004145/17.37, allocations: 2.178 MB / 5.968 GB, free: 26.89 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.659e-05/17.37, allocations: 11.34 kB / 5.968 GB, free: 26.89 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.562e-05/17.37, allocations: 8.219 kB / 5.968 GB, free: 26.89 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009035/17.37, allocations: 295.9 kB / 5.968 GB, free: 26.84 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001412/17.37, allocations: 370.2 kB / 5.969 GB, free: 26.84 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007077/17.38, allocations: 8.922 MB / 5.977 GB, free: 19.27 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002507/17.38, allocations: 219.5 kB / 5.978 GB, free: 19.18 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002837/17.38, allocations: 85.59 kB / 5.978 GB, free: 19.18 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 () * 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.0005408/17.38, allocations: 217 kB / 5.978 GB, free: 19.07 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008046/17.38, allocations: 189.9 kB / 5.978 GB, free: 18.98 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009556/17.39, allocations: 5.979 MB / 5.984 GB, free: 18.36 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.681e-05/17.39, allocations: 75.78 kB / 5.984 GB, free: 18.36 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.386e-05/17.39, allocations: 8.812 kB / 5.984 GB, free: 18.36 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.249e-05/17.39, allocations: 12.16 kB / 5.984 GB, free: 18.36 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01261/17.4, allocations: 9.329 MB / 5.993 GB, free: 17.25 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.228e-05/17.4, allocations: 2.406 kB / 5.993 GB, free: 17.25 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001223/17.4, allocations: 315 kB / 5.993 GB, free: 17.25 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008689/17.41, allocations: 304.6 kB / 5.994 GB, free: 17.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001455/17.41, allocations: 73.3 kB / 5.994 GB, free: 17.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00738/17.41, allocations: 8.924 MB / 6.002 GB, free: 25.62 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.112e-06/17.41, allocations: 7.891 kB / 6.003 GB, free: 25.62 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007933/17.42, allocations: 5.689 MB / 6.008 GB, free: 24.39 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001152/17.42, allocations: 398.2 kB / 6.008 GB, free: 24.08 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002709/17.42, allocations: 51 kB / 6.008 GB, free: 24.08 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001408/17.42, allocations: 135.7 kB / 6.009 GB, free: 24.05 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004/17.42, allocations: 183.4 kB / 6.009 GB, free: 24.05 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001684/17.42, allocations: 76.55 kB / 6.009 GB, free: 24.05 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001007/17.43, allocations: 0.7188 MB / 6.01 GB, free: 23.93 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/17.43, allocations: 0 / 6.01 GB, free: 23.93 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.009932/17.44, allocations: 1.901 MB / 6.011 GB, free: 23.68 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 () * 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.02274/17.46, allocations: 10.29 MB / 6.021 GB, free: 20.59 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.006535/17.47, allocations: 3.236 MB / 6.025 GB, free: 19.65 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.105e-05/17.47, allocations: 0 / 6.025 GB, free: 19.65 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.004738/17.47, allocations: 2.677 MB / 6.027 GB, free: 18.74 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004476/17.47, allocations: 0.7039 MB / 6.028 GB, free: 18.73 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01684/17.49, allocations: 6.027 MB / 6.034 GB, free: 17.3 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001582/17.49, allocations: 1.898 MB / 6.036 GB, free: 16.52 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001932/17.49, allocations: 0.7366 MB / 6.036 GB, free: 16.48 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001458/17.5, allocations: 1.226 MB / 6.038 GB, free: 16.46 MB / 0.7136 GB Notification: Performance of SimCode: time 9.31e-07/17.5, allocations: 0 / 6.038 GB, free: 16.46 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8275/18.32, allocations: 128.5 MB / 6.163 GB, free: 85.2 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001691/18.32, allocations: 183.6 kB / 6.163 GB, free: 84.97 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.638/25.96, allocations: 0 / 6.163 GB, free: 84.97 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