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.01092/0.01092, allocations: 171.8 kB / 15.12 MB, free: 5.555 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.678/1.678, allocations: 205.4 MB / 221.3 MB, free: 13.82 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.00119/0.00119, allocations: 94.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 0.9336/0.9336, allocations: 90.58 MB / 408.5 MB, free: 14.95 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.0003631/0.0003631, allocations: 15.98 kB / 485.2 MB, free: 2.059 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4475/0.4479, allocations: 66.27 MB / 0.5386 GB, free: 45.68 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.PCV): time 0.1921/0.64, allocations: 160.2 MB / 0.695 GB, free: 11.46 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.01964/0.6597, allocations: 14.8 MB / 0.7094 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002494/0.6622, allocations: 31.81 kB / 0.7095 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.003738/0.666, allocations: 0.8825 MB / 0.7103 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.008091/0.6741, allocations: 2.07 MB / 0.7123 GB, free: 9.656 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.00517/0.6793, allocations: 1.366 MB / 0.7137 GB, free: 8.297 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.004593/0.6839, allocations: 2.018 MB / 0.7156 GB, free: 6.273 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009151/0.6849, allocations: 345.6 kB / 0.716 GB, free: 5.918 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00294/0.6878, allocations: 1.075 MB / 0.717 GB, free: 4.84 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002551/0.6904, allocations: 1.101 MB / 0.7181 GB, free: 3.734 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0007181/0.6911, allocations: 80 kB / 0.7182 GB, free: 3.656 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006967/0.6981, allocations: 2.349 MB / 0.7205 GB, free: 1.305 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0008211/0.699, allocations: 306.8 kB / 0.7208 GB, free: 1.004 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.001172/0.7001, allocations: 364.8 kB / 0.7211 GB, free: 0.6406 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.004475/0.7046, allocations: 1.983 MB / 0.723 GB, free: 14.65 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.7047, allocations: 0 / 0.723 GB, free: 14.65 MB / 0.5417 GB Notification: Performance of FrontEnd: time 5.16e-06/0.7047, allocations: 3.984 kB / 0.7231 GB, free: 14.65 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001087/0.7048, allocations: 4 kB / 0.7231 GB, free: 14.64 MB / 0.5417 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.005216/0.71, allocations: 1.981 MB / 0.725 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.7101, allocations: 8.031 kB / 0.725 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009137/0.711, allocations: 209.7 kB / 0.7252 GB, free: 12.4 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001877/0.7129, allocations: 0.8219 MB / 0.726 GB, free: 11.53 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001326/0.713, allocations: 110.8 kB / 0.7261 GB, free: 11.42 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003478/0.7134, allocations: 163.8 kB / 0.7263 GB, free: 11.26 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003434/0.7168, allocations: 1.612 MB / 0.7278 GB, free: 9.602 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.507e-05/0.7169, allocations: 4 kB / 0.7278 GB, free: 9.598 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001622/0.7171, allocations: 56 kB / 0.7279 GB, free: 9.543 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.15e-05/0.7171, allocations: 36 kB / 0.7279 GB, free: 9.508 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002949/0.7201, allocations: 1.504 MB / 0.7294 GB, free: 8 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0117/0.7318, allocations: 7.291 MB / 0.7365 GB, free: 80 kB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003371/0.7352, allocations: 1.679 MB / 0.7382 GB, free: 14.35 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007383/0.7426, allocations: 6.089 MB / 0.7441 GB, free: 7.496 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.934e-05/0.7427, allocations: 59.81 kB / 0.7442 GB, free: 7.43 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=172): time 4.167e-06/0.7428, allocations: 0 / 0.7442 GB, free: 7.43 MB / 0.5574 GB Notification: Performance of matching and sorting (n=172): time 0.007119/0.7499, allocations: 3.434 MB / 0.7475 GB, free: 3.746 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.836e-05/0.75, allocations: 175 kB / 0.7477 GB, free: 3.539 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001292/0.7513, allocations: 0.8699 MB / 0.7485 GB, free: 2.652 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.0001471/0.7515, allocations: 65.7 kB / 0.7486 GB, free: 2.582 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.000494/0.752, allocations: 0.6214 MB / 0.7492 GB, free: 1.949 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005353/0.7525, allocations: 0.5852 MB / 0.7498 GB, free: 1.355 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.806e-05/0.7526, allocations: 36 kB / 0.7498 GB, free: 1.32 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0001647/0.7528, allocations: 369.9 kB / 0.7502 GB, free: 0.9531 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001101/0.7539, allocations: 0.5154 MB / 0.7507 GB, free: 448 kB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3123/1.066, allocations: 0.8546 MB / 0.7515 GB, free: 178.4 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001554/1.068, allocations: 0.6391 MB / 0.7521 GB, free: 178.4 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.628e-06/1.068, allocations: 2.812 kB / 0.7521 GB, free: 178.4 MB / 0.5574 GB Notification: Performance of matching and sorting (n=222) (initialization): time 0.003825/1.072, allocations: 1.874 MB / 0.754 GB, free: 178.2 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 3.271e-05/1.072, allocations: 10.41 kB / 0.754 GB, free: 178.2 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.193e-05/1.072, allocations: 10.34 kB / 0.754 GB, free: 178.2 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007319/1.073, allocations: 225 kB / 0.7542 GB, free: 178.1 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001341/1.074, allocations: 385.1 kB / 0.7546 GB, free: 178.1 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004661/1.079, allocations: 7.193 MB / 0.7616 GB, free: 171.9 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001524/1.08, allocations: 182 kB / 0.7618 GB, free: 171.8 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000174/1.08, allocations: 76.61 kB / 0.7618 GB, free: 171.8 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.0007736/1.081, allocations: 319.2 kB / 0.7621 GB, free: 171.7 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002997/1.081, allocations: 154.2 kB / 0.7623 GB, free: 171.6 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004466/1.086, allocations: 2.095 MB / 0.7643 GB, free: 171.4 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.193e-05/1.086, allocations: 22.44 kB / 0.7643 GB, free: 171.4 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.137e-05/1.086, allocations: 3.812 kB / 0.7643 GB, free: 171.4 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.499e-05/1.086, allocations: 15.11 kB / 0.7644 GB, free: 171.4 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00622/1.092, allocations: 4.043 MB / 0.7683 GB, free: 169.5 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.186e-06/1.092, allocations: 0 / 0.7683 GB, free: 169.5 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001001/1.093, allocations: 284.7 kB / 0.7686 GB, free: 169.4 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0016/1.095, allocations: 452.6 kB / 0.769 GB, free: 169.3 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001217/1.095, allocations: 61.89 kB / 0.7691 GB, free: 169.3 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005545/1.1, allocations: 9.475 MB / 0.7783 GB, free: 160.2 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/1.101, allocations: 8.188 kB / 0.7783 GB, free: 160.2 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005631/1.106, allocations: 3.122 MB / 0.7814 GB, free: 158.4 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006026/1.107, allocations: 231.6 kB / 0.7816 GB, free: 158.2 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001877/1.107, allocations: 39.47 kB / 0.7816 GB, free: 158.2 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001099/1.108, allocations: 110.2 kB / 0.7817 GB, free: 158.2 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000297/1.108, allocations: 136 kB / 0.7819 GB, free: 158.2 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001501/1.109, allocations: 73.03 kB / 0.7819 GB, free: 158.1 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.0009176/1.109, allocations: 0.5813 MB / 0.7825 GB, free: 157.9 MB / 0.5574 GB Notification: Performance of sort global known variables: time 1.31e-07/1.109, allocations: 0 / 0.7825 GB, free: 157.9 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.003211/1.113, allocations: 0.7626 MB / 0.7833 GB, free: 157.7 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.001501/1.114, allocations: 0.7627 MB / 0.784 GB, free: 157.5 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.004055/1.118, allocations: 2.085 MB / 0.786 GB, free: 156.5 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/1.118, allocations: 1.656 kB / 0.786 GB, free: 156.5 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.002533/1.121, allocations: 1.51 MB / 0.7875 GB, free: 155.6 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00263/1.123, allocations: 459.8 kB / 0.788 GB, free: 155.5 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006259/1.13, allocations: 4.166 MB / 0.792 GB, free: 153 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001182/1.131, allocations: 1.271 MB / 0.7933 GB, free: 152.3 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.001848/1.133, allocations: 309.1 kB / 0.7936 GB, free: 152.2 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004154/1.133, allocations: 145.8 kB / 0.7937 GB, free: 152.2 MB / 0.5574 GB Notification: Performance of SimCode: time 1.463e-06/1.133, allocations: 1.562 kB / 0.7937 GB, free: 152.2 MB / 0.5574 GB Notification: Performance of Templates: time 0.06418/1.197, allocations: 31.8 MB / 0.8247 GB, free: 136.4 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)