Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_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.3.1-main/package.mo", uses=false) Using package ThermofluidStream with version 0.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-main/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_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_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.001058/0.001058, allocations: 174.6 kB / 16.12 MB, free: 5.695 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.816/1.816, allocations: 205.4 MB / 222.3 MB, free: 9.031 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.0008468/0.0008466, allocations: 86.38 kB / 270.6 MB, free: 8.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-main/package.mo): time 0.8977/0.8977, allocations: 89.58 MB / 408.5 MB, free: 4.516 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 0.0003866/0.0003866, allocations: 8.219 kB / 485.2 MB, free: 7.672 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3737/0.3741, allocations: 66 MB / 0.5382 GB, free: 34.54 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.162/1.536, allocations: 439.3 MB / 0.9672 GB, free: 187.9 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002759/1.536, allocations: 85.12 kB / 0.9673 GB, free: 187.8 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.069/2.605, allocations: 348.5 MB / 1.308 GB, free: 73.4 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.176e-06/2.605, allocations: 0 / 1.308 GB, free: 73.4 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.000212/2.606, allocations: 51.92 kB / 1.308 GB, free: 73.35 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.006842/2.612, allocations: 2.156 MB / 1.31 GB, free: 71.14 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/2.613, allocations: 8.031 kB / 1.31 GB, free: 71.13 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001264/2.614, allocations: 218.7 kB / 1.31 GB, free: 70.92 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002536/2.616, allocations: 0.9285 MB / 1.311 GB, free: 69.95 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001458/2.617, allocations: 114.8 kB / 1.311 GB, free: 69.84 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005286/2.617, allocations: 155.8 kB / 1.311 GB, free: 69.68 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004174/2.621, allocations: 1.633 MB / 1.313 GB, free: 68 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.005e-05/2.621, allocations: 7.938 kB / 1.313 GB, free: 68 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003106/2.622, allocations: 56 kB / 1.313 GB, free: 67.94 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-05/2.622, allocations: 36 kB / 1.313 GB, free: 67.91 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002779/2.625, allocations: 1.504 MB / 1.314 GB, free: 66.4 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009959/2.634, allocations: 7.105 MB / 1.321 GB, free: 58.66 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00282/2.637, allocations: 1.744 MB / 1.323 GB, free: 56.87 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001267/2.639, allocations: 0.8284 MB / 1.324 GB, free: 56.03 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005336/2.644, allocations: 4.283 MB / 1.328 GB, free: 51.33 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.3e-05/2.644, allocations: 63.38 kB / 1.328 GB, free: 51.26 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=177): time 4.278e-06/2.644, allocations: 0 / 1.328 GB, free: 51.26 MB / 0.5886 GB Notification: Performance of matching and sorting (n=177): time 0.007078/2.651, allocations: 3.472 MB / 1.331 GB, free: 47.59 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.294e-05/2.651, allocations: 179 kB / 1.332 GB, free: 47.38 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001349/2.653, allocations: 0.8571 MB / 1.332 GB, free: 46.5 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.000201/2.653, allocations: 57.7 kB / 1.332 GB, free: 46.44 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004447/2.653, allocations: 0.6139 MB / 1.333 GB, free: 45.81 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005061/2.654, allocations: 0.6045 MB / 1.334 GB, free: 45.2 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/2.654, allocations: 28 kB / 1.334 GB, free: 45.17 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001422/2.654, allocations: 377.8 kB / 1.334 GB, free: 44.8 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001006/2.655, allocations: 0.5701 MB / 1.335 GB, free: 44.23 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001147/2.656, allocations: 0.8794 MB / 1.335 GB, free: 43.23 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002132/2.659, allocations: 1.572 MB / 1.337 GB, free: 41.55 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-05/2.659, allocations: 4 kB / 1.337 GB, free: 41.54 MB / 0.5886 GB Notification: Performance of matching and sorting (n=222) (initialization): time 0.003791/2.662, allocations: 1.978 MB / 1.339 GB, free: 39.54 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.93e-05/2.662, allocations: 8 kB / 1.339 GB, free: 39.53 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.273e-05/2.662, allocations: 15.94 kB / 1.339 GB, free: 39.52 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007349/2.663, allocations: 220.2 kB / 1.339 GB, free: 39.29 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001316/2.664, allocations: 383.5 kB / 1.34 GB, free: 38.91 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004503/2.669, allocations: 7.106 MB / 1.346 GB, free: 31.14 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001665/2.671, allocations: 182.4 kB / 1.347 GB, free: 30.96 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003127/2.671, allocations: 71.97 kB / 1.347 GB, free: 30.89 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 () * Number of clocked 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.001035/2.672, allocations: 325.1 kB / 1.347 GB, free: 30.57 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007443/2.673, allocations: 162.2 kB / 1.347 GB, free: 30.41 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004804/2.678, allocations: 2.252 MB / 1.349 GB, free: 28.11 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.202e-05/2.678, allocations: 24 kB / 1.349 GB, free: 28.09 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.778e-05/2.678, allocations: 4 kB / 1.349 GB, free: 28.09 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.784e-05/2.678, allocations: 11.95 kB / 1.349 GB, free: 28.07 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00737/2.685, allocations: 4.075 MB / 1.353 GB, free: 23.89 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.641e-05/2.685, allocations: 0 / 1.353 GB, free: 23.89 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001073/2.686, allocations: 283.8 kB / 1.354 GB, free: 23.62 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001555/2.688, allocations: 467.2 kB / 1.354 GB, free: 23.13 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001675/2.688, allocations: 55.95 kB / 1.354 GB, free: 23.08 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005292/2.693, allocations: 9.406 MB / 1.363 GB, free: 12.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/2.693, allocations: 4 kB / 1.363 GB, free: 12.9 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005709/2.699, allocations: 3.202 MB / 1.366 GB, free: 9.637 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006418/2.7, allocations: 242.7 kB / 1.367 GB, free: 9.379 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004247/2.7, allocations: 36 kB / 1.367 GB, free: 9.344 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001635/2.702, allocations: 107.7 kB / 1.367 GB, free: 9.238 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00037/2.702, allocations: 140.7 kB / 1.367 GB, free: 9.102 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002445/2.703, allocations: 67.95 kB / 1.367 GB, free: 9.035 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0009223/2.703, allocations: 0.5737 MB / 1.368 GB, free: 8.453 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.5e-07/2.703, allocations: 0 / 1.368 GB, free: 8.453 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.003742/2.707, allocations: 0.8464 MB / 1.368 GB, free: 7.605 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 () * Number of clocked 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.002881/2.71, allocations: 1.213 MB / 1.37 GB, free: 6.352 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.00401/2.714, allocations: 2.282 MB / 1.372 GB, free: 3.988 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 8.996e-06/2.714, allocations: 3.938 kB / 1.372 GB, free: 3.984 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.002513/2.717, allocations: 1.654 MB / 1.373 GB, free: 2.254 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003834/2.721, allocations: 494.6 kB / 1.374 GB, free: 1.766 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.378/3.099, allocations: 4.236 MB / 1.378 GB, free: 95.68 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001041/3.1, allocations: 1.259 MB / 1.379 GB, free: 94.96 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001761/3.101, allocations: 281.6 kB / 1.38 GB, free: 94.95 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004594/3.102, allocations: 147.4 kB / 1.38 GB, free: 94.95 MB / 0.5886 GB Notification: Performance of SimCode: time 1.122e-06/3.102, allocations: 2.562 kB / 1.38 GB, free: 94.95 MB / 0.5886 GB Notification: Performance of Templates: time 0.06715/3.169, allocations: 36.65 MB / 1.415 GB, free: 93.44 MB / 0.5886 GB make -j1 -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.makefile (rm -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.pipe ; mkfifo ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.pipe >> ../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.sim & ./ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.pipe 2>&1)