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.001124/0.001124, allocations: 177.1 kB / 15.78 MB, free: 6.352 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.697/1.697, allocations: 205.4 MB / 221.9 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.0008488/0.0008489, allocations: 90.3 kB / 270.3 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 0.8031/0.8031, allocations: 90.6 MB / 409.1 MB, free: 14.99 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.0003224/0.0003224, allocations: 8 kB / 485.9 MB, free: 2.086 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3999/0.4002, allocations: 66.28 MB / 0.5392 GB, free: 45.69 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.PCV): time 0.2006/0.6009, allocations: 173 MB / 0.7081 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.02308/0.624, allocations: 16.46 MB / 0.7242 GB, free: 14.14 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002372/0.6264, allocations: 23.88 kB / 0.7242 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.002836/0.6293, allocations: 0.8079 MB / 0.725 GB, free: 13.3 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.007185/0.6365, allocations: 2.046 MB / 0.727 GB, free: 11.25 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.005102/0.6416, allocations: 1.336 MB / 0.7283 GB, free: 9.922 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.005936/0.6476, allocations: 3.664 MB / 0.7319 GB, free: 6.242 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007863/0.6484, allocations: 341.3 kB / 0.7322 GB, free: 5.891 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002756/0.6511, allocations: 1.167 MB / 0.7334 GB, free: 4.719 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002602/0.6538, allocations: 1.37 MB / 0.7347 GB, free: 3.344 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.000313/0.6541, allocations: 79.94 kB / 0.7348 GB, free: 3.266 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006224/0.6603, allocations: 2.203 MB / 0.7369 GB, free: 1.059 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0006768/0.6611, allocations: 318.5 kB / 0.7372 GB, free: 0.7461 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0009144/0.662, allocations: 360.8 kB / 0.7376 GB, free: 396 kB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.004034/0.666, allocations: 1.995 MB / 0.7395 GB, free: 14.39 MB / 0.5574 GB Notification: Performance of FrontEnd - DAE generated: time 8.577e-06/0.6661, allocations: 8 kB / 0.7395 GB, free: 14.38 MB / 0.5574 GB Notification: Performance of FrontEnd: time 3.447e-06/0.6661, allocations: 0 / 0.7395 GB, free: 14.38 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 3.266e-05/0.6661, allocations: 0 / 0.7395 GB, free: 14.38 MB / 0.5574 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.004503/0.6706, allocations: 1.992 MB / 0.7415 GB, free: 12.34 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/0.6707, allocations: 8.031 kB / 0.7415 GB, free: 12.33 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006557/0.6713, allocations: 209.7 kB / 0.7417 GB, free: 12.12 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00157/0.6729, allocations: 0.8181 MB / 0.7425 GB, free: 11.26 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001045/0.673, allocations: 114.8 kB / 0.7426 GB, free: 11.14 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002355/0.6733, allocations: 155.9 kB / 0.7427 GB, free: 10.99 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002976/0.6763, allocations: 1.631 MB / 0.7443 GB, free: 9.312 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.958e-05/0.6763, allocations: 0 / 0.7443 GB, free: 9.312 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001584/0.6765, allocations: 60 kB / 0.7444 GB, free: 9.254 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-05/0.6765, allocations: 40 kB / 0.7444 GB, free: 9.215 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00277/0.6793, allocations: 1.5 MB / 0.7459 GB, free: 7.711 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2772/0.9565, allocations: 7.171 MB / 0.7529 GB, free: 178.9 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003463/0.96, allocations: 1.664 MB / 0.7545 GB, free: 178.8 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001315/0.9614, allocations: 0.7848 MB / 0.7553 GB, free: 178.7 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006182/0.9676, allocations: 5.993 MB / 0.7611 GB, free: 174.1 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.49e-05/0.9677, allocations: 65.53 kB / 0.7612 GB, free: 174.1 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=172): time 4.989e-06/0.9677, allocations: 0 / 0.7612 GB, free: 174.1 MB / 0.5574 GB Notification: Performance of matching and sorting (n=172): time 0.006738/0.9744, allocations: 3.225 MB / 0.7644 GB, free: 173.1 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.833e-05/0.9745, allocations: 186.1 kB / 0.7645 GB, free: 172.9 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001118/0.9757, allocations: 0.8677 MB / 0.7654 GB, free: 172.7 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.0001287/0.9758, allocations: 59.48 kB / 0.7654 GB, free: 172.7 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003965/0.9762, allocations: 0.6313 MB / 0.7661 GB, free: 172.2 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003665/0.9766, allocations: 0.593 MB / 0.7666 GB, free: 171.7 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.168e-05/0.9767, allocations: 30.22 kB / 0.7667 GB, free: 171.7 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.9768, allocations: 371 kB / 0.767 GB, free: 171.4 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009568/0.9777, allocations: 0.5194 MB / 0.7675 GB, free: 171.2 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001084/0.9788, allocations: 0.864 MB / 0.7684 GB, free: 170.6 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001117/0.98, allocations: 0.6472 MB / 0.769 GB, free: 170.3 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.351e-05/0.98, allocations: 2.719 kB / 0.769 GB, free: 170.3 MB / 0.5574 GB Notification: Performance of matching and sorting (n=222) (initialization): time 0.003223/0.9832, allocations: 1.884 MB / 0.7708 GB, free: 169.5 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 2.765e-05/0.9833, allocations: 11.03 kB / 0.7708 GB, free: 169.5 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.989e-05/0.9833, allocations: 9.344 kB / 0.7709 GB, free: 169.5 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007249/0.984, allocations: 214.8 kB / 0.7711 GB, free: 169.4 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001399/0.9854, allocations: 384.9 kB / 0.7714 GB, free: 169.4 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004583/0.99, allocations: 7.126 MB / 0.7784 GB, free: 162.5 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001373/0.9914, allocations: 185.9 kB / 0.7786 GB, free: 162.4 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000277/0.9917, allocations: 78.44 kB / 0.7786 GB, free: 162.4 MB / 0.5574 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.0007857/0.9925, allocations: 318.7 kB / 0.7789 GB, free: 162.1 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004599/0.993, allocations: 149.2 kB / 0.7791 GB, free: 162 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004442/0.9974, allocations: 2.097 MB / 0.7811 GB, free: 161.2 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.54e-05/0.9975, allocations: 22.84 kB / 0.7812 GB, free: 161.2 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.065e-05/0.9975, allocations: 4.188 kB / 0.7812 GB, free: 161.2 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.296e-05/0.9975, allocations: 10.25 kB / 0.7812 GB, free: 161.2 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007336/1.005, allocations: 3.974 MB / 0.7851 GB, free: 159.2 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.484e-05/1.005, allocations: 2.75 kB / 0.7851 GB, free: 159.2 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001101/1.006, allocations: 281.7 kB / 0.7853 GB, free: 159.1 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001855/1.008, allocations: 458 kB / 0.7858 GB, free: 159 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001675/1.008, allocations: 57.55 kB / 0.7858 GB, free: 159 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006592/1.015, allocations: 9.425 MB / 0.795 GB, free: 149.9 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/1.015, allocations: 3.375 kB / 0.795 GB, free: 149.9 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006402/1.021, allocations: 3.008 MB / 0.798 GB, free: 148.3 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005494/1.022, allocations: 233.2 kB / 0.7982 GB, free: 148.1 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003687/1.022, allocations: 41.88 kB / 0.7982 GB, free: 148.1 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001559/1.024, allocations: 101.9 kB / 0.7983 GB, free: 148 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004572/1.024, allocations: 146.5 kB / 0.7985 GB, free: 148 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003231/1.024, allocations: 75.48 kB / 0.7985 GB, free: 148 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.001419/1.026, allocations: 0.5738 MB / 0.7991 GB, free: 147.7 MB / 0.5574 GB Notification: Performance of sort global known variables: time 2.8e-07/1.026, allocations: 0 / 0.7991 GB, free: 147.7 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.004181/1.03, allocations: 0.7655 MB / 0.7998 GB, free: 147.6 MB / 0.5574 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.002133/1.032, allocations: 0.762 MB / 0.8006 GB, free: 147.4 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.004307/1.037, allocations: 2.087 MB / 0.8026 GB, free: 146.3 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 8.927e-06/1.037, allocations: 2.375 kB / 0.8026 GB, free: 146.3 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.002763/1.039, allocations: 1.499 MB / 0.8041 GB, free: 145.4 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003401/1.043, allocations: 493.7 kB / 0.8046 GB, free: 145.3 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007129/1.05, allocations: 4.236 MB / 0.8087 GB, free: 142.7 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00118/1.051, allocations: 1.238 MB / 0.8099 GB, free: 142 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006604/1.052, allocations: 165.2 kB / 0.8101 GB, free: 142 MB / 0.5574 GB Notification: Performance of SimCode: time 1.172e-06/1.052, allocations: 0 / 0.8101 GB, free: 142 MB / 0.5574 GB Notification: Performance of Templates: time 0.06697/1.119, allocations: 67.1 MB / 0.8756 GB, free: 85.13 MB / 0.5574 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)