Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.PCV.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: translateModel(ThermofluidStream.FlowControl.Tests.PCV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|pCV.inlet.m_flow|source.outlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow|volumeFlex.M|volumeFlex.U_med|volumeFlex1.M|volumeFlex1.U_med|volumeFlex2.M|volumeFlex2.U_med|volumeFlex2.m_flow_out|volumeFlex3.M|volumeFlex3.U_med",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.PCV") translateModel(ThermofluidStream.FlowControl.Tests.PCV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|pCV.inlet.m_flow|source.outlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow|volumeFlex.M|volumeFlex.U_med|volumeFlex1.M|volumeFlex1.U_med|volumeFlex2.M|volumeFlex2.U_med|volumeFlex2.m_flow_out|volumeFlex3.M|volumeFlex3.U_med",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.PCV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001546/0.001546, 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 3.2.3+maint.om/package.mo): time 1.661/1.661, allocations: 205.2 MB / 218.5 MB, free: 9.215 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.0008031/0.0008032, allocations: 80.53 kB / 266.6 MB, free: 9.273 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.7202/0.7202, allocations: 90.35 MB / 405 MB, free: 8.629 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 1500 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 1500 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 2.934e-05/2.945e-05, allocations: 0 / 479.1 MB, free: 14.33 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3925/0.3925, allocations: 66.26 MB / 0.5326 GB, free: 28.6 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.16/1.553, allocations: 439.3 MB / 0.9616 GB, free: 157.8 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002535/1.553, allocations: 76.86 kB / 0.9617 GB, free: 157.8 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.078/2.631, allocations: 350.4 MB / 1.304 GB, free: 76.14 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.784e-06/2.631, allocations: 4 kB / 1.304 GB, free: 76.14 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0001912/2.631, allocations: 51.92 kB / 1.304 GB, free: 76.09 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.006577/2.638, allocations: 2.005 MB / 1.306 GB, free: 74.04 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 6.539e-05/2.638, allocations: 12.03 kB / 1.306 GB, free: 74.02 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001473/2.64, allocations: 209.7 kB / 1.306 GB, free: 73.82 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002301/2.642, allocations: 0.8803 MB / 1.307 GB, free: 72.89 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001144/2.642, allocations: 116.2 kB / 1.307 GB, free: 72.78 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004492/2.643, allocations: 147.9 kB / 1.307 GB, free: 72.64 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003184/2.646, allocations: 1.556 MB / 1.309 GB, free: 71.04 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.453e-05/2.646, allocations: 0 / 1.309 GB, free: 71.04 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002083/2.646, allocations: 71.95 kB / 1.309 GB, free: 70.96 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.416e-05/2.646, allocations: 39.94 kB / 1.309 GB, free: 70.93 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00216/2.648, allocations: 1.399 MB / 1.31 GB, free: 69.52 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008433/2.657, allocations: 7.156 MB / 1.317 GB, free: 61.74 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002444/2.659, allocations: 1.692 MB / 1.319 GB, free: 60 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009053/2.66, allocations: 0.7862 MB / 1.32 GB, free: 59.2 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004268/2.664, allocations: 4.35 MB / 1.324 GB, free: 54.43 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/2.664, allocations: 69.12 kB / 1.324 GB, free: 54.36 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=177): time 4.528e-06/2.664, allocations: 0 / 1.324 GB, free: 54.36 MB / 0.5886 GB Notification: Performance of matching and sorting (n=177): time 0.003199/2.668, allocations: 1.778 MB / 1.326 GB, free: 52.54 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.329e-05/2.668, allocations: 179 kB / 1.326 GB, free: 52.33 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007572/2.668, allocations: 0.7277 MB / 1.327 GB, free: 51.59 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.611e-05/2.669, allocations: 57.7 kB / 1.327 GB, free: 51.52 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002901/2.669, allocations: 0.6138 MB / 1.327 GB, free: 50.9 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003018/2.669, allocations: 0.6006 MB / 1.328 GB, free: 50.29 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.38e-05/2.669, allocations: 32 kB / 1.328 GB, free: 50.26 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.743e-05/2.669, allocations: 377.8 kB / 1.328 GB, free: 49.88 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007229/2.67, allocations: 0.5273 MB / 1.329 GB, free: 49.36 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008915/2.671, allocations: 0.8249 MB / 1.329 GB, free: 48.42 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008634/2.672, allocations: 0.6392 MB / 1.33 GB, free: 47.78 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.493e-06/2.672, allocations: 4 kB / 1.33 GB, free: 47.77 MB / 0.5886 GB Notification: Performance of matching and sorting (n=222) (initialization): time 0.002841/2.675, allocations: 1.881 MB / 1.332 GB, free: 45.87 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.112e-05/2.675, allocations: 9.875 kB / 1.332 GB, free: 45.86 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.73e-05/2.675, allocations: 8 kB / 1.332 GB, free: 45.85 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006102/2.675, allocations: 216.4 kB / 1.332 GB, free: 45.62 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00129/2.677, allocations: 379.5 kB / 1.333 GB, free: 45.25 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004151/2.681, allocations: 7.107 MB / 1.339 GB, free: 37.48 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001175/2.682, allocations: 178.4 kB / 1.34 GB, free: 37.3 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001268/2.682, allocations: 71.97 kB / 1.34 GB, free: 37.23 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (204): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003167/2.682, allocations: 220.3 kB / 1.34 GB, free: 37.01 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003821/2.683, allocations: 150.2 kB / 1.34 GB, free: 36.86 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003904/2.687, allocations: 2.166 MB / 1.342 GB, free: 34.66 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.431e-05/2.687, allocations: 24 kB / 1.342 GB, free: 34.64 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/2.687, allocations: 4 kB / 1.342 GB, free: 34.63 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.905e-05/2.687, allocations: 15.91 kB / 1.342 GB, free: 34.62 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00528/2.692, allocations: 3.992 MB / 1.346 GB, free: 30.52 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.346e-06/2.692, allocations: 7.938 kB / 1.346 GB, free: 30.52 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001008/2.693, allocations: 283.8 kB / 1.346 GB, free: 30.24 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001544/2.695, allocations: 455.2 kB / 1.347 GB, free: 29.77 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001175/2.695, allocations: 63.94 kB / 1.347 GB, free: 29.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004781/2.7, allocations: 9.383 MB / 1.356 GB, free: 19.55 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/2.7, allocations: 0 / 1.356 GB, free: 19.55 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004015/2.704, allocations: 3.167 MB / 1.359 GB, free: 16.27 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004522/2.704, allocations: 238.8 kB / 1.359 GB, free: 16.02 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001729/2.704, allocations: 44 kB / 1.359 GB, free: 15.98 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001101/2.705, allocations: 95.8 kB / 1.36 GB, free: 15.88 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002382/2.706, allocations: 136.7 kB / 1.36 GB, free: 15.75 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001242/2.706, allocations: 79.94 kB / 1.36 GB, free: 15.67 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0006576/2.706, allocations: 0.5589 MB / 1.36 GB, free: 15.1 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.71e-07/2.706, allocations: 0 / 1.36 GB, free: 15.1 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002538/2.709, allocations: 0.8464 MB / 1.361 GB, free: 14.25 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 13 (volumeFlex2.M,volumeFlex2.U_med,volumeFlex.M,volumeFlex.U_med,pCV1.inlet.m_flow,volumeFlex1.M,volumeFlex1.U_med,volumeFlex1.m_flow_in,volumeFlex3.M,volumeFlex3.U_med,flowResistance3.inlet.m_flow,flowResistance2.inlet.m_flow,flowResistance4.inlet.m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (156): * Single equations (assignments): 144 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 4 {2 3,2 3,2 3,2 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001669/2.711, allocations: 1.21 MB / 1.362 GB, free: 13 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002851/2.714, allocations: 2.183 MB / 1.364 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.381e-06/2.714, allocations: 4 kB / 1.364 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001994/2.716, allocations: 1.606 MB / 1.366 GB, free: 9.043 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002262/2.718, allocations: 460.3 kB / 1.366 GB, free: 8.594 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004599/2.722, allocations: 2.869 MB / 1.369 GB, free: 5.672 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006716/2.723, allocations: 1.289 MB / 1.37 GB, free: 4.355 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001492/2.725, allocations: 287.4 kB / 1.371 GB, free: 4.07 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003596/2.725, allocations: 147.4 kB / 1.371 GB, free: 3.926 MB / 0.5886 GB Notification: Performance of SimCode: time 1.583e-06/2.725, allocations: 0 / 1.371 GB, free: 3.926 MB / 0.5886 GB Notification: Performance of Templates: time 0.4164/3.141, allocations: 37.23 MB / 1.407 GB, free: 91.36 MB / 0.5886 GB make -j1 -f ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.PCV.makefile (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.PCV.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.PCV.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.PCV.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.PCV.sim & ./ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.PCV -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.PCV.pipe 2>&1)