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.3.1-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-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.001045/0.001045, allocations: 172.3 kB / 16.11 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.457/1.457, allocations: 205.4 MB / 222.3 MB, free: 9.023 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.0007608/0.0007608, allocations: 87.22 kB / 270.6 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-OM_adaptions/package.mo): time 0.7137/0.7136, allocations: 89.62 MB / 408.5 MB, free: 4.473 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.0003623/0.0003623, allocations: 12.22 kB / 485.2 MB, free: 7.629 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3258/0.3262, allocations: 66.01 MB / 0.5383 GB, free: 34.46 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8819/1.208, allocations: 439.3 MB / 0.9673 GB, free: 187.7 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001905/1.208, allocations: 87.94 kB / 0.9673 GB, free: 187.6 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.8766/2.085, allocations: 348.5 MB / 1.308 GB, free: 73.09 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.134e-06/2.085, allocations: 4 kB / 1.308 GB, free: 73.09 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0001842/2.085, allocations: 51.91 kB / 1.308 GB, free: 73.04 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.005017/2.09, allocations: 2.152 MB / 1.31 GB, free: 70.83 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/2.09, allocations: 12.03 kB / 1.31 GB, free: 70.82 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008845/2.091, allocations: 218.7 kB / 1.31 GB, free: 70.6 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001628/2.093, allocations: 0.9284 MB / 1.311 GB, free: 69.63 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.132e-05/2.093, allocations: 114.8 kB / 1.311 GB, free: 69.52 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002998/2.093, allocations: 159.8 kB / 1.311 GB, free: 69.36 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002692/2.096, allocations: 1.625 MB / 1.313 GB, free: 67.69 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.578e-05/2.096, allocations: 0 / 1.313 GB, free: 67.69 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001617/2.096, allocations: 68 kB / 1.313 GB, free: 67.62 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.889e-05/2.096, allocations: 36 kB / 1.313 GB, free: 67.59 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002217/2.098, allocations: 1.5 MB / 1.314 GB, free: 66.09 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007255/2.106, allocations: 7.109 MB / 1.321 GB, free: 58.35 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00238/2.108, allocations: 1.739 MB / 1.323 GB, free: 56.56 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001016/2.109, allocations: 0.8362 MB / 1.324 GB, free: 55.71 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004295/2.113, allocations: 4.29 MB / 1.328 GB, free: 51 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.773e-05/2.114, allocations: 55.44 kB / 1.328 GB, free: 50.94 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=177): time 3.376e-06/2.114, allocations: 0 / 1.328 GB, free: 50.94 MB / 0.5886 GB Notification: Performance of matching and sorting (n=177): time 0.006084/2.12, allocations: 3.471 MB / 1.331 GB, free: 47.27 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.817e-05/2.12, allocations: 175.1 kB / 1.332 GB, free: 47.06 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000811/2.121, allocations: 0.8571 MB / 1.332 GB, free: 46.19 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0001032/2.121, allocations: 69.69 kB / 1.332 GB, free: 46.11 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002622/2.121, allocations: 0.6139 MB / 1.333 GB, free: 45.49 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003187/2.121, allocations: 0.5967 MB / 1.334 GB, free: 44.88 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.997e-05/2.121, allocations: 32 kB / 1.334 GB, free: 44.85 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.232e-05/2.121, allocations: 373.8 kB / 1.334 GB, free: 44.48 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008683/2.122, allocations: 0.5701 MB / 1.335 GB, free: 43.91 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009668/2.123, allocations: 0.8833 MB / 1.335 GB, free: 42.91 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00186/2.125, allocations: 1.572 MB / 1.337 GB, free: 41.23 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/2.125, allocations: 4 kB / 1.337 GB, free: 41.22 MB / 0.5886 GB Notification: Performance of matching and sorting (n=222) (initialization): time 0.002996/2.128, allocations: 1.975 MB / 1.339 GB, free: 39.22 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/2.128, allocations: 12 kB / 1.339 GB, free: 39.21 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.681e-05/2.128, allocations: 15.92 kB / 1.339 GB, free: 39.2 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005671/2.129, allocations: 224 kB / 1.339 GB, free: 38.96 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00124/2.13, allocations: 379.5 kB / 1.34 GB, free: 38.59 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003896/2.134, allocations: 7.11 MB / 1.347 GB, free: 30.82 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001126/2.135, allocations: 174.4 kB / 1.347 GB, free: 30.65 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001503/2.135, allocations: 79.97 kB / 1.347 GB, free: 30.57 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.0006425/2.136, allocations: 321.1 kB / 1.347 GB, free: 30.25 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004656/2.136, allocations: 158.2 kB / 1.347 GB, free: 30.09 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004227/2.141, allocations: 2.26 MB / 1.349 GB, free: 27.79 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.102e-05/2.141, allocations: 20 kB / 1.349 GB, free: 27.77 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.849e-05/2.141, allocations: 4 kB / 1.349 GB, free: 27.77 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-05/2.141, allocations: 15.95 kB / 1.349 GB, free: 27.75 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005658/2.146, allocations: 4.064 MB / 1.353 GB, free: 23.58 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.307e-06/2.146, allocations: 7.984 kB / 1.353 GB, free: 23.57 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009475/2.147, allocations: 279.6 kB / 1.354 GB, free: 23.3 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001426/2.149, allocations: 467.3 kB / 1.354 GB, free: 22.82 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001228/2.149, allocations: 63.89 kB / 1.354 GB, free: 22.75 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004695/2.154, allocations: 9.402 MB / 1.363 GB, free: 12.58 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/2.154, allocations: 4 kB / 1.363 GB, free: 12.58 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004258/2.158, allocations: 3.206 MB / 1.367 GB, free: 9.312 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000387/2.158, allocations: 234.8 kB / 1.367 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002197/2.159, allocations: 40 kB / 1.367 GB, free: 9.023 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001145/2.16, allocations: 103.7 kB / 1.367 GB, free: 8.922 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002233/2.16, allocations: 140.7 kB / 1.367 GB, free: 8.785 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001489/2.16, allocations: 71.95 kB / 1.367 GB, free: 8.715 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0006293/2.161, allocations: 0.5697 MB / 1.368 GB, free: 8.137 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.022e-06/2.161, allocations: 0 / 1.368 GB, free: 8.137 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002398/2.163, allocations: 0.8503 MB / 1.368 GB, free: 7.285 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.001934/2.165, allocations: 1.202 MB / 1.37 GB, free: 6.043 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.00304/2.168, allocations: 2.29 MB / 1.372 GB, free: 3.672 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.359e-06/2.168, allocations: 7.875 kB / 1.372 GB, free: 3.664 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.002127/2.17, allocations: 1.659 MB / 1.373 GB, free: 1.93 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002887/2.173, allocations: 494.6 kB / 1.374 GB, free: 1.441 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2632/2.436, allocations: 4.235 MB / 1.378 GB, free: 95.34 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007154/2.437, allocations: 1.256 MB / 1.379 GB, free: 94.62 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001452/2.439, allocations: 287.3 kB / 1.38 GB, free: 94.6 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003683/2.439, allocations: 143.9 kB / 1.38 GB, free: 94.6 MB / 0.5886 GB Notification: Performance of SimCode: time 5.51e-07/2.439, allocations: 0.6562 kB / 1.38 GB, free: 94.6 MB / 0.5886 GB Notification: Performance of Templates: time 0.05407/2.493, allocations: 36.66 MB / 1.416 GB, free: 93 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)