Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_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_ThermofluidStream.FlowControl.Tests.PCV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009266/0.0009267, allocations: 91.61 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.8359/0.8359, allocations: 89.64 MB / 380.7 MB, free: 11.42 MB / 318.1 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.0003721/0.0003721, allocations: 8.906 kB / 460 MB, free: 24.36 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.1651, allocations: 68.83 MB / 0.5165 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.PCV): time 0.7001/0.8653, allocations: 173.2 MB / 0.6856 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.03015/0.8955, allocations: 16.61 MB / 0.7018 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004566/0.9002, allocations: 27.88 kB / 0.7019 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.004909/0.9051, allocations: 0.8195 MB / 0.7027 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.009538/0.9147, allocations: 2.088 MB / 0.7047 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005674/0.9204, allocations: 1.334 MB / 0.706 GB, free: 9.285 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.006612/0.927, allocations: 3.776 MB / 0.7097 GB, free: 5.496 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00118/0.9282, allocations: 355.7 kB / 0.71 GB, free: 5.121 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004269/0.9325, allocations: 1.249 MB / 0.7113 GB, free: 3.867 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003732/0.9363, allocations: 1.413 MB / 0.7126 GB, free: 2.449 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0007619/0.937, allocations: 80 kB / 0.7127 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007598/0.9447, allocations: 2.137 MB / 0.7148 GB, free: 236 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001033/0.9457, allocations: 338.4 kB / 0.7151 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001276/0.947, allocations: 380.7 kB / 0.7155 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.005059/0.9521, allocations: 2.053 MB / 0.7175 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.914e-06/0.9521, allocations: 4 kB / 0.7175 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of FrontEnd: time 4.098e-06/0.9521, allocations: 0 / 0.7175 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001563/0.9523, allocations: 0 / 0.7175 GB, free: 13.46 MB / 0.5294 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.006966/0.9593, allocations: 2.094 MB / 0.7195 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.9593, allocations: 8.031 kB / 0.7196 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001163/0.9605, allocations: 225.5 kB / 0.7198 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002444/0.963, allocations: 0.9099 MB / 0.7207 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001137/0.9631, allocations: 106.9 kB / 0.7208 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002697/0.9634, allocations: 159.8 kB / 0.7209 GB, free: 9.852 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003105/0.9665, allocations: 1.635 MB / 0.7225 GB, free: 8.16 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.85e-05/0.9665, allocations: 0 / 0.7225 GB, free: 8.16 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000139/0.9667, allocations: 64 kB / 0.7226 GB, free: 8.098 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.544e-05/0.9667, allocations: 36 kB / 0.7226 GB, free: 8.062 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002491/0.9692, allocations: 1.496 MB / 0.7241 GB, free: 6.566 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0103/0.9795, allocations: 7.139 MB / 0.731 GB, free: 14.85 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00298/0.9826, allocations: 1.551 MB / 0.7325 GB, free: 13.26 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001247/0.9838, allocations: 0.7591 MB / 0.7333 GB, free: 12.48 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008485/0.9923, allocations: 5.972 MB / 0.7391 GB, free: 5.738 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.844e-05/0.9925, allocations: 59.31 kB / 0.7392 GB, free: 5.672 MB / 0.545 GB Notification: Performance of pre-optimization done (n=166): time 5.571e-06/0.9925, allocations: 0 / 0.7392 GB, free: 5.672 MB / 0.545 GB Notification: Performance of matching and sorting (n=166): time 0.00676/0.9993, allocations: 3.152 MB / 0.7423 GB, free: 2.324 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001141/0.9994, allocations: 175 kB / 0.7424 GB, free: 2.117 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00177/1.001, allocations: 1.083 MB / 0.7435 GB, free: 1.027 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001837/1.001, allocations: 57.7 kB / 0.7435 GB, free: 0.9648 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006103/1.002, allocations: 0.6888 MB / 0.7442 GB, free: 272 kB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005971/1.003, allocations: 0.57 MB / 0.7448 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.599e-05/1.003, allocations: 36 kB / 0.7448 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001916/1.003, allocations: 365.9 kB / 0.7452 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001021/1.004, allocations: 0.492 MB / 0.7456 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001235/1.005, allocations: 0.8328 MB / 0.7464 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001215/1.006, allocations: 0.6084 MB / 0.747 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.207e-05/1.006, allocations: 0 / 0.747 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.003781/1.01, allocations: 1.853 MB / 0.7488 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.805e-05/1.01, allocations: 8 kB / 0.7489 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.339e-05/1.01, allocations: 8 kB / 0.7489 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008738/1.011, allocations: 224.3 kB / 0.7491 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001423/1.013, allocations: 383.4 kB / 0.7494 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007315/1.02, allocations: 7.134 MB / 0.7564 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00226/1.022, allocations: 178.4 kB / 0.7566 GB, free: 2.766 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005124/1.023, allocations: 79.92 kB / 0.7567 GB, free: 2.688 MB / 0.5606 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 (201): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.001326/1.024, allocations: 325.4 kB / 0.757 GB, free: 2.359 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007404/1.025, allocations: 166 kB / 0.7571 GB, free: 2.195 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004861/1.03, allocations: 2.07 MB / 0.7591 GB, free: 64 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.44e-05/1.03, allocations: 20 kB / 0.7592 GB, free: 44 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.93e-05/1.03, allocations: 4 kB / 0.7592 GB, free: 40 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.209e-05/1.03, allocations: 7.969 kB / 0.7592 GB, free: 32 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007674/1.038, allocations: 3.891 MB / 0.763 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-05/1.038, allocations: 7.969 kB / 0.763 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001048/1.039, allocations: 267.6 kB / 0.7632 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001825/1.041, allocations: 467.2 kB / 0.7637 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001608/1.041, allocations: 51.97 kB / 0.7637 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007536/1.048, allocations: 9.421 MB / 0.7729 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/1.048, allocations: 7.938 kB / 0.7729 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005335/1.054, allocations: 2.861 MB / 0.7757 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007056/1.054, allocations: 262.7 kB / 0.776 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004054/1.055, allocations: 47.94 kB / 0.776 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001352/1.056, allocations: 91.8 kB / 0.7761 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002744/1.056, allocations: 128.7 kB / 0.7762 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001877/1.057, allocations: 67.95 kB / 0.7763 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001274/1.058, allocations: 0.7557 MB / 0.777 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.8e-07/1.058, allocations: 4 kB / 0.777 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002866/1.061, allocations: 0.7762 MB / 0.7778 GB, free: 11.94 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (140): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.00167/1.062, allocations: 0.7466 MB / 0.7785 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003748/1.066, allocations: 2.01 MB / 0.7805 GB, free: 9.109 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/1.066, allocations: 4 kB / 0.7805 GB, free: 9.105 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002457/1.069, allocations: 1.434 MB / 0.7819 GB, free: 7.613 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003395/1.072, allocations: 0.5518 MB / 0.7824 GB, free: 7.07 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007222/1.079, allocations: 4.369 MB / 0.7867 GB, free: 2.633 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001049/1.08, allocations: 1.269 MB / 0.7879 GB, free: 1.332 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001632/1.082, allocations: 316.6 kB / 0.7882 GB, free: 1.016 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005174/1.083, allocations: 151.4 kB / 0.7884 GB, free: 0.8672 MB / 0.5919 GB Notification: Performance of SimCode: time 1.402e-06/1.083, allocations: 0 / 0.7884 GB, free: 0.8672 MB / 0.5919 GB Notification: Performance of Templates: time 0.3965/1.479, allocations: 33.55 MB / 0.8212 GB, free: 218.9 MB / 0.6075 GB make -j1 -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.makefile (rm -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.pipe ; mkfifo ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.pipe >> ../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.sim & ./ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.FlowControl.Tests.PCV.pipe 2>&1)