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.008996/0.008996, allocations: 171.3 kB / 15.12 MB, free: 5.973 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.866/1.866, allocations: 205.4 MB / 221.3 MB, free: 13.83 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.001061/0.001061, allocations: 82.88 kB / 269.6 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 1.052/1.052, allocations: 90.59 MB / 408.4 MB, free: 14.98 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.0004753/0.0004759, allocations: 12 kB / 485.2 MB, free: 2.082 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5089/0.5094, allocations: 66.27 MB / 0.5386 GB, free: 45.58 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8775/1.387, allocations: 439.4 MB / 0.9676 GB, free: 5.562 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003192/1.387, allocations: 87.61 kB / 0.9677 GB, free: 5.516 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.671/3.059, allocations: 351.7 MB / 1.311 GB, free: 74.96 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.825e-06/3.059, allocations: 3.281 kB / 1.311 GB, free: 74.96 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0002967/3.059, allocations: 57.27 kB / 1.311 GB, free: 74.95 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.009651/3.069, allocations: 2.173 MB / 1.313 GB, free: 73.88 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 6.022e-05/3.069, allocations: 7.344 kB / 1.313 GB, free: 73.88 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001738/3.07, allocations: 214 kB / 1.314 GB, free: 73.79 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003288/3.074, allocations: 0.8894 MB / 1.314 GB, free: 73.45 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001886/3.074, allocations: 112.2 kB / 1.315 GB, free: 73.45 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007323/3.075, allocations: 159.5 kB / 1.315 GB, free: 73.45 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005251/3.08, allocations: 1.609 MB / 1.316 GB, free: 73.29 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.213e-05/3.08, allocations: 3.781 kB / 1.316 GB, free: 73.29 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002751/3.08, allocations: 68.8 kB / 1.316 GB, free: 73.29 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.817e-05/3.08, allocations: 40.23 kB / 1.316 GB, free: 73.29 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003257/3.084, allocations: 1.5 MB / 1.318 GB, free: 73.27 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01406/3.098, allocations: 7.15 MB / 1.325 GB, free: 69.3 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003079/3.101, allocations: 1.75 MB / 1.326 GB, free: 69.14 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00516/3.106, allocations: 4.312 MB / 1.331 GB, free: 66.23 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.185e-05/3.106, allocations: 71.72 kB / 1.331 GB, free: 66.18 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=177): time 3.406e-06/3.106, allocations: 0 / 1.331 GB, free: 66.18 MB / 0.5886 GB Notification: Performance of matching and sorting (n=177): time 0.00703/3.113, allocations: 3.679 MB / 1.334 GB, free: 64.81 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.528e-05/3.113, allocations: 178.2 kB / 1.335 GB, free: 64.61 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001165/3.115, allocations: 0.7424 MB / 1.335 GB, free: 64.46 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0001631/3.115, allocations: 64.17 kB / 1.335 GB, free: 64.43 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004576/3.115, allocations: 0.6115 MB / 1.336 GB, free: 64.17 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005012/3.116, allocations: 0.5952 MB / 1.336 GB, free: 63.78 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/3.116, allocations: 34.12 kB / 1.337 GB, free: 63.78 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001363/3.116, allocations: 368 kB / 1.337 GB, free: 63.47 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001062/3.117, allocations: 0.5728 MB / 1.337 GB, free: 63.47 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001175/3.118, allocations: 0.877 MB / 1.338 GB, free: 63.16 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001323/3.12, allocations: 0.6883 MB / 1.339 GB, free: 62.86 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-05/3.12, allocations: 3.188 kB / 1.339 GB, free: 62.86 MB / 0.5886 GB Notification: Performance of matching and sorting (n=222) (initialization): time 0.003903/3.123, allocations: 1.983 MB / 1.341 GB, free: 62.02 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.757e-05/3.124, allocations: 9.984 kB / 1.341 GB, free: 62.02 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.25e-05/3.124, allocations: 9.875 kB / 1.341 GB, free: 62.02 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007305/3.124, allocations: 215.9 kB / 1.341 GB, free: 61.95 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001434/3.126, allocations: 382.5 kB / 1.341 GB, free: 61.91 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004943/3.131, allocations: 7.181 MB / 1.349 GB, free: 54.99 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001767/3.132, allocations: 175.5 kB / 1.349 GB, free: 54.88 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003204/3.133, allocations: 82.17 kB / 1.349 GB, free: 54.87 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.001216/3.134, allocations: 320.8 kB / 1.349 GB, free: 54.61 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008825/3.135, allocations: 155.4 kB / 1.349 GB, free: 54.54 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005827/3.141, allocations: 2.264 MB / 1.351 GB, free: 53.27 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.021e-05/3.141, allocations: 18.22 kB / 1.351 GB, free: 53.27 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.177e-05/3.141, allocations: 3.75 kB / 1.351 GB, free: 53.27 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.819e-05/3.141, allocations: 11.88 kB / 1.351 GB, free: 53.26 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008774/3.15, allocations: 4.081 MB / 1.355 GB, free: 50.55 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.852e-05/3.15, allocations: 7.281 kB / 1.355 GB, free: 50.55 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001166/3.151, allocations: 281.2 kB / 1.356 GB, free: 50.48 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001743/3.153, allocations: 465 kB / 1.356 GB, free: 50.21 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001824/3.153, allocations: 64.86 kB / 1.356 GB, free: 50.17 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006263/3.159, allocations: 9.466 MB / 1.365 GB, free: 40.79 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.521e-06/3.159, allocations: 3.75 kB / 1.365 GB, free: 40.79 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00624/3.165, allocations: 3.307 MB / 1.369 GB, free: 38.73 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007642/3.166, allocations: 236 kB / 1.369 GB, free: 38.52 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004463/3.167, allocations: 44.09 kB / 1.369 GB, free: 38.49 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001757/3.168, allocations: 97.14 kB / 1.369 GB, free: 38.45 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000358/3.169, allocations: 146.1 kB / 1.369 GB, free: 38.37 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000264/3.169, allocations: 79.16 kB / 1.369 GB, free: 38.34 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.001036/3.17, allocations: 0.5658 MB / 1.37 GB, free: 38 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.11e-07/3.17, allocations: 2.969 kB / 1.37 GB, free: 38 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.004226/3.174, allocations: 0.8458 MB / 1.371 GB, free: 37.73 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.003372/3.178, allocations: 1.206 MB / 1.372 GB, free: 37.2 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.004385/3.182, allocations: 2.281 MB / 1.374 GB, free: 35.79 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.06e-05/3.182, allocations: 11.88 kB / 1.374 GB, free: 35.78 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.002773/3.185, allocations: 1.669 MB / 1.376 GB, free: 34.61 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003045/3.188, allocations: 458.7 kB / 1.376 GB, free: 34.39 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008389/3.197, allocations: 4.221 MB / 1.38 GB, free: 30.85 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001774/3.198, allocations: 1.281 MB / 1.382 GB, free: 29.54 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.002173/3.201, allocations: 294 kB / 1.382 GB, free: 29.27 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004193/3.201, allocations: 147.4 kB / 1.382 GB, free: 29.12 MB / 0.5886 GB Notification: Performance of SimCode: time 3.727e-06/3.201, allocations: 0 / 1.382 GB, free: 29.12 MB / 0.5886 GB Notification: Performance of Templates: time 0.06082/3.262, allocations: 36.02 MB / 1.417 GB, free: 9.664 MB / 0.6042 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)