Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001639/0.001639, allocations: 111.1 kB / 18.68 MB, free: 3.316 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00172/0.00172, allocations: 200.4 kB / 21.94 MB, free: 76 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 225.6 MB / 250.6 MB, free: 13.37 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo): time 0.7468/0.7468, allocations: 94.59 MB / 400.4 MB, free: 15.8 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.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.Undirected.Boundaries.Tests.Reservoir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|reservoir.M|reservoir.U_med|reservoir.m_flow_fore|reservoir.m_flow_rear|reservoir2.M|reservoir2.U_med|reservoir2.m_flow_in|reservoir2.m_flow_out",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir") translateModel(ThermofluidStream.Undirected.Boundaries.Tests.Reservoir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|reservoir.M|reservoir.U_med|reservoir.m_flow_fore|reservoir.m_flow_rear|reservoir2.M|reservoir2.U_med|reservoir2.m_flow_in|reservoir2.m_flow_out",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002458/0.002458, allocations: 87.5 kB / 0.5464 GB, free: 42.92 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09668/0.09914, allocations: 71.85 MB / 0.6166 GB, free: 8.602 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.Reservoir): time 0.05038/0.1495, allocations: 41.79 MB / 0.6574 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008719/0.1582, allocations: 5.39 MB / 0.6627 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001097/0.1593, allocations: 43.75 kB / 0.6627 GB, free: 9.199 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001653/0.161, allocations: 0.5471 MB / 0.6632 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003849/0.1648, allocations: 1.386 MB / 0.6646 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002519/0.1674, allocations: 0.8752 MB / 0.6654 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003139/0.1705, allocations: 2.155 MB / 0.6675 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004595/0.171, allocations: 165 kB / 0.6677 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002992/0.1739, allocations: 1.327 MB / 0.669 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001266/0.1752, allocations: 0.7973 MB / 0.6698 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002279/0.1754, allocations: 100 kB / 0.6699 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002126/0.1776, allocations: 0.7568 MB / 0.6706 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003339/0.1779, allocations: 270.8 kB / 0.6709 GB, free: 0.7852 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007828/0.1787, allocations: 0.6529 MB / 0.6715 GB, free: 132 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003146/0.1818, allocations: 1.872 MB / 0.6733 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1818, allocations: 4 kB / 0.6733 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.392e-06/0.1818, allocations: 0 / 0.6733 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.703e-05/0.1819, allocations: 0 / 0.6733 GB, free: 14.25 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.003421/0.1853, allocations: 1.696 MB / 0.675 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.1853, allocations: 8.031 kB / 0.675 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004161/0.1857, allocations: 160 kB / 0.6752 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001694/0.1874, allocations: 0.8803 MB / 0.676 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.534e-05/0.1875, allocations: 74.12 kB / 0.6761 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000158/0.1877, allocations: 104 kB / 0.6762 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00197/0.1896, allocations: 1.07 MB / 0.6772 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.425e-05/0.1897, allocations: 4 kB / 0.6772 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.627e-05/0.1898, allocations: 44 kB / 0.6773 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.3e-05/0.1898, allocations: 20 kB / 0.6773 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001987/0.1918, allocations: 1.004 MB / 0.6783 GB, free: 9.066 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006685/0.1985, allocations: 4.763 MB / 0.6829 GB, free: 3.875 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00196/0.2004, allocations: 0.8495 MB / 0.6838 GB, free: 3.012 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009081/0.2013, allocations: 455.5 kB / 0.6842 GB, free: 2.566 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005096/0.2064, allocations: 3.476 MB / 0.6876 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.59e-05/0.2065, allocations: 47.08 kB / 0.6876 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=108): time 2.675e-06/0.2065, allocations: 0 / 0.6876 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of matching and sorting (n=122): time 0.01125/0.2177, allocations: 4.472 MB / 0.692 GB, free: 9.941 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.829e-05/0.2178, allocations: 90.2 kB / 0.6921 GB, free: 9.836 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001074/0.2188, allocations: 0.7523 MB / 0.6928 GB, free: 9.059 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001218/0.219, allocations: 53.69 kB / 0.6929 GB, free: 9 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004321/0.2194, allocations: 489.4 kB / 0.6933 GB, free: 8.516 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003969/0.2198, allocations: 448.1 kB / 0.6938 GB, free: 8.074 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003533/0.2201, allocations: 206.9 kB / 0.694 GB, free: 7.867 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001785/0.2203, allocations: 349.9 kB / 0.6943 GB, free: 7.52 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001002/0.2213, allocations: 414.4 kB / 0.6947 GB, free: 7.113 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001163/0.2225, allocations: 0.5623 MB / 0.6952 GB, free: 6.504 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002269/0.2248, allocations: 1.048 MB / 0.6963 GB, free: 5.402 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.79e-06/0.2248, allocations: 4 kB / 0.6963 GB, free: 5.398 MB / 0.5294 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003665/0.2284, allocations: 1.5 MB / 0.6977 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.2285, allocations: 8 kB / 0.6977 GB, free: 3.855 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.2285, allocations: 4 kB / 0.6977 GB, free: 3.852 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001121/0.2296, allocations: 302.7 kB / 0.698 GB, free: 3.531 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001008/0.2306, allocations: 235.7 kB / 0.6983 GB, free: 3.301 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01144/0.242, allocations: 12.14 MB / 0.7101 GB, free: 6.047 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009555/0.243, allocations: 47.95 kB / 0.7102 GB, free: 6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001312/0.2431, allocations: 51.98 kB / 0.7102 GB, free: 5.949 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (124): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,2,100.0%), (1,2,100.0%), (2,5,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005165/0.2436, allocations: 253.6 kB / 0.7104 GB, free: 5.691 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002834/0.2439, allocations: 119.2 kB / 0.7106 GB, free: 5.574 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00432/0.2482, allocations: 1.855 MB / 0.7124 GB, free: 3.672 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.634e-05/0.2483, allocations: 7.969 kB / 0.7124 GB, free: 3.664 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.2483, allocations: 0 / 0.7124 GB, free: 3.664 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002939/0.2486, allocations: 188.2 kB / 0.7126 GB, free: 3.461 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001584/0.2487, allocations: 35.94 kB / 0.7126 GB, free: 3.426 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006952/0.2494, allocations: 51.95 kB / 0.7126 GB, free: 3.375 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002159/0.2496, allocations: 108.9 kB / 0.7127 GB, free: 3.266 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004903/0.2545, allocations: 1.685 MB / 0.7144 GB, free: 1.551 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004038/0.2586, allocations: 1.998 MB / 0.7163 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001094/0.2597, allocations: 496.4 kB / 0.7168 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000848/0.2605, allocations: 0.559 MB / 0.7174 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of Backend: time 3.01e-07/0.2605, allocations: 0 / 0.7174 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.004448/0.265, allocations: 2.079 MB / 0.7194 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of SimCode: time 0.004908/0.2699, allocations: 3.069 MB / 0.7224 GB, free: 9.176 MB / 0.5606 GB Notification: Performance of Templates: time 0.278/0.5478, allocations: 25.84 MB / 0.7476 GB, free: 126.1 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.sim & ./ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe 2>&1) [Timeout 1200] [Calling os._exit(0), Time elapsed: 6.950602155004162] Failed to read output from testmodel.py, exit status != 0: 0.5558538400218822 0.568841229 0.38388171200000004 Calling exit ...