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.0009983/0.0009983, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 221.5 MB / 229.6 MB, free: 3.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 92.75 kB / 280.5 MB, free: 1.137 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo): time 0.01323/0.01323, allocations: 1.571 MB / 332.8 MB, free: 12.76 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.5839/0.5839, allocations: 90.06 MB / 474.1 MB, free: 7.062 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.009e-05/2.002e-05, allocations: 4 kB / 0.5376 GB, free: 13.83 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.1588, allocations: 69.37 MB / 0.6053 GB, free: 8.383 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.269/8.428, allocations: 3.773 GB / 4.378 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002576/8.429, allocations: 78.94 kB / 4.378 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.81/13.24, allocations: 1.5 GB / 5.878 GB, free: 37.5 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.182e-06/13.24, allocations: 2.719 kB / 5.878 GB, free: 37.5 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001432/13.24, allocations: 74.48 kB / 5.879 GB, free: 37.48 MB / 0.6667 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.01674/13.26, allocations: 5.34 MB / 5.884 GB, free: 35 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/13.26, allocations: 9.656 kB / 5.884 GB, free: 35 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00354/13.26, allocations: 0.5678 MB / 5.884 GB, free: 34.86 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002336/13.26, allocations: 1.237 MB / 5.886 GB, free: 34.39 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.024e-05/13.26, allocations: 75.09 kB / 5.886 GB, free: 34.39 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002964/13.26, allocations: 146.9 kB / 5.886 GB, free: 34.39 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002918/13.26, allocations: 1.715 MB / 5.887 GB, free: 34.37 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003163/13.27, allocations: 2.059 MB / 5.889 GB, free: 34.1 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.691e-05/13.27, allocations: 3.938 kB / 5.889 GB, free: 34.09 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001563/13.27, allocations: 3.562 kB / 5.889 GB, free: 34.09 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.296e-05/13.27, allocations: 63.84 kB / 5.889 GB, free: 34.09 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01084/13.28, allocations: 12.23 MB / 5.901 GB, free: 25.85 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002334/13.28, allocations: 1.658 MB / 5.903 GB, free: 25.69 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001129/13.28, allocations: 0.9642 MB / 5.904 GB, free: 25.64 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05342/13.34, allocations: 32.34 MB / 5.936 GB, free: 21.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.495e-05/13.34, allocations: 59.22 kB / 5.936 GB, free: 21.26 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=226): time 3.747e-06/13.34, allocations: 0 / 5.936 GB, free: 21.26 MB / 0.6823 GB Notification: Performance of matching and sorting (n=226): time 0.007567/13.34, allocations: 2.922 MB / 5.938 GB, free: 20.99 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.699e-05/13.34, allocations: 200.5 kB / 5.939 GB, free: 20.77 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009738/13.34, allocations: 0.7889 MB / 5.939 GB, free: 20.62 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000134/13.34, allocations: 25.7 kB / 5.939 GB, free: 20.59 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003978/13.35, allocations: 0.8783 MB / 5.94 GB, free: 20.21 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004721/13.35, allocations: 0.7265 MB / 5.941 GB, free: 19.71 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.372e-05/13.35, allocations: 0 / 5.941 GB, free: 19.71 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001438/13.35, allocations: 376.9 kB / 5.941 GB, free: 19.41 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008207/13.35, allocations: 0.575 MB / 5.942 GB, free: 19.41 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000911/13.35, allocations: 0.8186 MB / 5.943 GB, free: 19.19 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002878/13.35, allocations: 1.007 MB / 5.944 GB, free: 19.16 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/13.35, allocations: 7.156 kB / 5.944 GB, free: 19.15 MB / 0.6823 GB Notification: Performance of matching and sorting (n=250) (initialization): time 0.005105/13.36, allocations: 2.326 MB / 5.946 GB, free: 18.87 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/13.36, allocations: 7.562 kB / 5.946 GB, free: 18.87 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/13.36, allocations: 7.812 kB / 5.946 GB, free: 18.86 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007776/13.36, allocations: 286.4 kB / 5.946 GB, free: 18.81 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001272/13.36, allocations: 366.9 kB / 5.947 GB, free: 18.79 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006207/13.36, allocations: 8.625 MB / 5.955 GB, free: 11.49 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001763/13.37, allocations: 167.2 kB / 5.955 GB, free: 11.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001514/13.37, allocations: 82.27 kB / 5.955 GB, free: 11.4 MB / 0.6823 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.0003447/13.37, allocations: 156.7 kB / 5.955 GB, free: 11.26 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004968/13.37, allocations: 2.218 MB / 5.958 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003338/13.37, allocations: 174 kB / 5.958 GB, free: 10.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007434/13.38, allocations: 6.089 MB / 5.964 GB, free: 9.723 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.133e-05/13.38, allocations: 74.64 kB / 5.964 GB, free: 9.707 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-05/13.38, allocations: 6.062 kB / 5.964 GB, free: 9.707 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.327e-05/13.38, allocations: 16.89 kB / 5.964 GB, free: 9.703 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01115/13.39, allocations: 9.076 MB / 5.973 GB, free: 2.809 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-05/13.39, allocations: 4 kB / 5.973 GB, free: 2.805 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001253/13.39, allocations: 325.6 kB / 5.973 GB, free: 2.531 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008548/13.39, allocations: 302.6 kB / 5.973 GB, free: 2.293 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001454/13.39, allocations: 46.83 kB / 5.973 GB, free: 2.258 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00699/13.4, allocations: 8.613 MB / 5.982 GB, free: 9.254 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.677e-06/13.4, allocations: 4.031 kB / 5.982 GB, free: 9.25 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009611/13.41, allocations: 5.818 MB / 5.987 GB, free: 3.676 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008275/13.41, allocations: 371 kB / 5.988 GB, free: 3.297 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002648/13.41, allocations: 12 kB / 5.988 GB, free: 3.285 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001398/13.41, allocations: 105.7 kB / 5.988 GB, free: 3.195 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003335/13.41, allocations: 171 kB / 5.988 GB, free: 3.09 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001451/13.41, allocations: 82.59 kB / 5.988 GB, free: 3.02 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007548/13.41, allocations: 0.5706 MB / 5.989 GB, free: 2.496 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/13.41, allocations: 0 / 5.989 GB, free: 2.496 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.006525/13.42, allocations: 1.758 MB / 5.99 GB, free: 0.7734 MB / 0.698 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.4616/13.88, allocations: 10.91 MB / 6.001 GB, free: 64.63 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.005388/13.89, allocations: 3.086 MB / 6.004 GB, free: 63.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/13.89, allocations: 4.297 kB / 6.004 GB, free: 63.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002982/13.89, allocations: 2.614 MB / 6.007 GB, free: 62.96 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003633/13.89, allocations: 0.6465 MB / 6.007 GB, free: 62.94 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01531/13.91, allocations: 5.846 MB / 6.013 GB, free: 61.79 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001725/13.91, allocations: 1.899 MB / 6.015 GB, free: 61.05 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001899/13.91, allocations: 0.7242 MB / 6.016 GB, free: 61.03 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001247/13.91, allocations: 1.21 MB / 6.017 GB, free: 61.02 MB / 0.698 GB Notification: Performance of SimCode: time 6.21e-07/13.91, allocations: 2.297 kB / 6.017 GB, free: 61.02 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1277/14.04, allocations: 94.22 MB / 6.109 GB, free: 55.73 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001377/14.04, allocations: 151.9 kB / 6.109 GB, free: 55.54 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.042/19.08, allocations: 0 / 6.109 GB, free: 55.54 MB / 0.698 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