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.005985/0.005985, allocations: 168.3 kB / 15.13 MB, free: 6.023 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.503/1.503, allocations: 205.4 MB / 221.3 MB, free: 13.8 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.000958/0.0009582, allocations: 78.31 kB / 269.6 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.7232/0.7232, allocations: 90.6 MB / 408.5 MB, free: 14.94 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.0003174/0.0003175, allocations: 8 kB / 485.3 MB, free: 2.027 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3081/0.3084, allocations: 66.27 MB / 0.5386 GB, free: 45.67 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.PCV): time 0.1788/0.4872, allocations: 173 MB / 0.7075 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0197/0.5069, allocations: 16.45 MB / 0.7236 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002/0.509, allocations: 27.88 kB / 0.7236 GB, free: 14.09 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.002698/0.5117, allocations: 0.8118 MB / 0.7244 GB, free: 13.27 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.006106/0.5178, allocations: 2.053 MB / 0.7264 GB, free: 11.21 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.00426/0.5221, allocations: 1.332 MB / 0.7277 GB, free: 9.883 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.004732/0.5269, allocations: 3.664 MB / 0.7313 GB, free: 6.203 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007101/0.5276, allocations: 337 kB / 0.7316 GB, free: 5.855 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003021/0.5306, allocations: 1.171 MB / 0.7327 GB, free: 4.68 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002206/0.5328, allocations: 1.374 MB / 0.7341 GB, free: 3.301 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0003099/0.5332, allocations: 76 kB / 0.7342 GB, free: 3.227 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005141/0.5383, allocations: 2.199 MB / 0.7363 GB, free: 1.023 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.000611/0.539, allocations: 318.5 kB / 0.7366 GB, free: 0.7109 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0008113/0.5398, allocations: 360.8 kB / 0.7369 GB, free: 360 kB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.003609/0.5434, allocations: 1.999 MB / 0.7389 GB, free: 14.35 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.5435, allocations: 0 / 0.7389 GB, free: 14.35 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.675e-06/0.5435, allocations: 0 / 0.7389 GB, free: 14.35 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 9.238e-05/0.5436, allocations: 0 / 0.7389 GB, free: 14.35 MB / 0.5573 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.004451/0.548, allocations: 1.992 MB / 0.7408 GB, free: 12.3 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.5481, allocations: 12.03 kB / 0.7409 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007886/0.5489, allocations: 205.7 kB / 0.7411 GB, free: 12.09 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001832/0.5507, allocations: 0.822 MB / 0.7419 GB, free: 11.22 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000121/0.5509, allocations: 114.8 kB / 0.742 GB, free: 11.11 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003403/0.5512, allocations: 155.9 kB / 0.7421 GB, free: 10.96 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003005/0.5542, allocations: 1.635 MB / 0.7437 GB, free: 9.273 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.751e-05/0.5543, allocations: 0 / 0.7437 GB, free: 9.273 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001467/0.5544, allocations: 60 kB / 0.7438 GB, free: 9.215 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.273e-05/0.5545, allocations: 42.38 kB / 0.7438 GB, free: 9.176 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002568/0.5571, allocations: 1.5 MB / 0.7453 GB, free: 7.672 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2615/0.8186, allocations: 7.164 MB / 0.7523 GB, free: 178.9 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002887/0.8215, allocations: 1.665 MB / 0.7539 GB, free: 178.8 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001049/0.8226, allocations: 0.7868 MB / 0.7547 GB, free: 178.7 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005059/0.8277, allocations: 5.992 MB / 0.7605 GB, free: 174.1 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.28e-05/0.8277, allocations: 61.5 kB / 0.7606 GB, free: 174.1 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=172): time 3.577e-06/0.8277, allocations: 0 / 0.7606 GB, free: 174.1 MB / 0.5573 GB Notification: Performance of matching and sorting (n=172): time 0.006094/0.8338, allocations: 3.229 MB / 0.7637 GB, free: 173 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.373e-05/0.8339, allocations: 187.5 kB / 0.7639 GB, free: 172.8 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008458/0.8348, allocations: 0.8697 MB / 0.7648 GB, free: 172.7 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 9.396e-05/0.8349, allocations: 58.39 kB / 0.7648 GB, free: 172.6 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000288/0.8352, allocations: 0.6279 MB / 0.7654 GB, free: 172.1 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002727/0.8354, allocations: 0.5862 MB / 0.766 GB, free: 171.7 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.589e-05/0.8355, allocations: 32.28 kB / 0.766 GB, free: 171.6 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 8.178e-05/0.8356, allocations: 373.1 kB / 0.7664 GB, free: 171.3 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008527/0.8365, allocations: 0.5223 MB / 0.7669 GB, free: 171.1 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000972/0.8374, allocations: 0.8636 MB / 0.7677 GB, free: 170.5 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009731/0.8384, allocations: 0.6419 MB / 0.7684 GB, free: 170.2 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.684e-06/0.8384, allocations: 2.531 kB / 0.7684 GB, free: 170.2 MB / 0.5573 GB Notification: Performance of matching and sorting (n=222) (initialization): time 0.002916/0.8414, allocations: 1.889 MB / 0.7702 GB, free: 169.4 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/0.8414, allocations: 7.719 kB / 0.7702 GB, free: 169.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.749e-05/0.8414, allocations: 10.56 kB / 0.7702 GB, free: 169.4 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006478/0.8421, allocations: 214.5 kB / 0.7704 GB, free: 169.4 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001423/0.8435, allocations: 384.7 kB / 0.7708 GB, free: 169.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004248/0.8478, allocations: 7.125 MB / 0.7778 GB, free: 162.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0012/0.849, allocations: 186.7 kB / 0.7779 GB, free: 162.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001642/0.8492, allocations: 75.16 kB / 0.778 GB, free: 162.3 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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.0006615/0.8498, allocations: 320 kB / 0.7783 GB, free: 162 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003083/0.8501, allocations: 148.3 kB / 0.7785 GB, free: 162 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003973/0.8541, allocations: 2.096 MB / 0.7805 GB, free: 161.1 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.127e-05/0.8542, allocations: 24.08 kB / 0.7805 GB, free: 161.1 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.8542, allocations: 4.5 kB / 0.7805 GB, free: 161.1 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.943e-05/0.8542, allocations: 12.59 kB / 0.7805 GB, free: 161.1 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006015/0.8602, allocations: 3.978 MB / 0.7844 GB, free: 159.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.238e-06/0.8602, allocations: 2.969 kB / 0.7844 GB, free: 159.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001065/0.8613, allocations: 279 kB / 0.7847 GB, free: 159.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001703/0.863, allocations: 462.8 kB / 0.7851 GB, free: 158.9 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001096/0.8631, allocations: 57 kB / 0.7852 GB, free: 158.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006461/0.8696, allocations: 9.418 MB / 0.7944 GB, free: 149.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.818e-06/0.8697, allocations: 4.438 kB / 0.7944 GB, free: 149.8 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006107/0.8758, allocations: 3.009 MB / 0.7973 GB, free: 148.2 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004347/0.8762, allocations: 236.4 kB / 0.7976 GB, free: 148 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000196/0.8765, allocations: 40.47 kB / 0.7976 GB, free: 148 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001336/0.8778, allocations: 104.7 kB / 0.7977 GB, free: 148 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003403/0.8782, allocations: 142.7 kB / 0.7978 GB, free: 147.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001818/0.8783, allocations: 74.28 kB / 0.7979 GB, free: 147.9 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0009591/0.8793, allocations: 0.5745 MB / 0.7985 GB, free: 147.7 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.7e-07/0.8793, allocations: 0 / 0.7985 GB, free: 147.7 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002816/0.8821, allocations: 0.7624 MB / 0.7992 GB, free: 147.5 MB / 0.5573 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,flowResistance.inlet.m_flow,volumeFlex1.M,volumeFlex1.U_med,volumeFlex3.M,volumeFlex3.U_med,flowResistance1.inlet.m_flow,pCV2.inlet.m_flow,pCV3.inlet.m_flow,pCV4.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 (151): * Single equations (assignments): 139 * 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.001449/0.8836, allocations: 0.7741 MB / 0.8 GB, free: 147.3 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.00361/0.8872, allocations: 2.086 MB / 0.802 GB, free: 146.2 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/0.8872, allocations: 4.688 kB / 0.802 GB, free: 146.2 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.002406/0.8897, allocations: 1.495 MB / 0.8035 GB, free: 145.4 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002654/0.8923, allocations: 488.6 kB / 0.8039 GB, free: 145.2 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005513/0.8979, allocations: 4.187 MB / 0.808 GB, free: 142.7 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008268/0.8987, allocations: 1.244 MB / 0.8092 GB, free: 142 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001279/0.9, allocations: 301.8 kB / 0.8095 GB, free: 141.9 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003539/0.9003, allocations: 147.2 kB / 0.8097 GB, free: 141.8 MB / 0.5573 GB Notification: Performance of SimCode: time 4.81e-07/0.9004, allocations: 4 kB / 0.8097 GB, free: 141.8 MB / 0.5573 GB Notification: Performance of Templates: time 0.03997/0.9403, allocations: 31.96 MB / 0.8409 GB, free: 120.3 MB / 0.5573 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)