Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009598/0.0009598, allocations: 73.88 kB / 20.66 MB, free: 3.844 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009126/0.0009126, allocations: 169 kB / 24.06 MB, free: 456 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9263/0.9263, allocations: 177.1 MB / 204.5 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.7478/0.7478, allocations: 118.6 MB / 379.7 MB, free: 1.332 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Processes.Tests.ConvectivePipe_serial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|heatCapacitor.T|heatCapacitor1.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial") translateModel(ThermofluidStream.Processes.Tests.ConvectivePipe_serial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|heatCapacitor.T|heatCapacitor1.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 484.8 MB, free: 8.129 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.248e-05/2.44e-05, allocations: 2.312 kB / 484.8 MB, free: 8.125 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.00751/0.007534, allocations: 8.239 MB / 493.1 MB, free: 2.512 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003198/0.01073, allocations: 2.383 MB / 495.5 MB, free: 0.8555 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005967/0.01133, allocations: 47.25 kB / 495.5 MB, free: 0.8281 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004186/0.01175, allocations: 180.8 kB / 495.7 MB, free: 0.7188 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001268/0.01302, allocations: 0.6483 MB / 496.3 MB, free: 288 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006394/0.01365, allocations: 302 kB / 496.6 MB, free: 124 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0015/0.01515, allocations: 1.309 MB / 497.9 MB, free: 15.43 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003566/0.01551, allocations: 149.3 kB / 498.1 MB, free: 15.34 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001254/0.01677, allocations: 0.7091 MB / 498.8 MB, free: 15.06 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005381/0.0173, allocations: 342.9 kB / 499.1 MB, free: 14.95 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 8.799e-05/0.01739, allocations: 58.59 kB / 499.2 MB, free: 14.95 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004983/0.01789, allocations: 184.7 kB / 499.4 MB, free: 14.91 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001525/0.01804, allocations: 164.6 kB / 499.5 MB, free: 14.8 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002931/0.01834, allocations: 304.4 kB / 499.8 MB, free: 14.68 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001139/0.01947, allocations: 0.8209 MB / 0.4889 GB, free: 14.3 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.01948, allocations: 1.062 kB / 0.4889 GB, free: 14.3 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.01948, allocations: 0 / 0.4889 GB, free: 14.3 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.164e-05/0.0195, allocations: 3.938 kB / 0.4889 GB, free: 14.3 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 159 * Number of variables: 159 Notification: Performance of Generate backend data structure: time 0.00184/0.02134, allocations: 1.321 MB / 0.4902 GB, free: 13.37 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.02138, allocations: 8.984 kB / 0.4902 GB, free: 13.37 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003909/0.02177, allocations: 186.2 kB / 0.4904 GB, free: 13.28 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009666/0.02274, allocations: 0.6846 MB / 0.4911 GB, free: 12.86 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.711e-05/0.02278, allocations: 46.25 kB / 0.4911 GB, free: 12.84 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.855e-05/0.02286, allocations: 61.91 kB / 0.4912 GB, free: 12.82 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006133/0.02347, allocations: 479.1 kB / 0.4916 GB, free: 12.62 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.076e-05/0.02349, allocations: 5.188 kB / 0.4916 GB, free: 12.61 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.038e-05/0.02353, allocations: 30.36 kB / 0.4916 GB, free: 12.59 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.337e-05/0.02354, allocations: 15.38 kB / 0.4917 GB, free: 12.58 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003842/0.02393, allocations: 268 kB / 0.4919 GB, free: 12.38 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002307/0.02623, allocations: 2.201 MB / 0.4941 GB, free: 10.36 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006204/0.02685, allocations: 0.514 MB / 0.4946 GB, free: 9.863 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001738/0.02703, allocations: 147.1 kB / 0.4947 GB, free: 9.734 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001254/0.02828, allocations: 0.9833 MB / 0.4957 GB, free: 8.84 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.883e-05/0.02831, allocations: 45.89 kB / 0.4957 GB, free: 8.785 MB / 426.7 MB Notification: Performance of pre-optimization done (n=55): time 1.874e-06/0.02831, allocations: 0 / 0.4957 GB, free: 8.785 MB / 426.7 MB Notification: Performance of matching and sorting (n=55): time 0.002018/0.03033, allocations: 0.8197 MB / 0.4965 GB, free: 8.102 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/0.03037, allocations: 81.61 kB / 0.4966 GB, free: 8.004 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005346/0.0309, allocations: 0.6437 MB / 0.4972 GB, free: 7.449 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.942e-05/0.03093, allocations: 37.7 kB / 0.4973 GB, free: 7.406 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002716/0.03121, allocations: 489.7 kB / 0.4977 GB, free: 6.961 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001221/0.03133, allocations: 201.1 kB / 0.4979 GB, free: 6.777 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001327/0.03146, allocations: 130.5 kB / 0.498 GB, free: 6.652 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.0316, allocations: 0.5003 MB / 0.4985 GB, free: 6.152 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001138/0.03171, allocations: 70.23 kB / 0.4986 GB, free: 6.098 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002028/0.03191, allocations: 265.9 kB / 0.4988 GB, free: 5.797 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003402/0.03225, allocations: 387.3 kB / 0.4992 GB, free: 5.367 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.03226, allocations: 0 / 0.4992 GB, free: 5.367 MB / 426.7 MB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0007843/0.03304, allocations: 0.5959 MB / 0.4998 GB, free: 4.816 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.477e-05/0.03307, allocations: 12.56 kB / 0.4998 GB, free: 4.805 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.03308, allocations: 7.938 kB / 0.4998 GB, free: 4.797 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009713/0.03405, allocations: 290.2 kB / 0.5001 GB, free: 4.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002417/0.03429, allocations: 112.8 kB / 0.5002 GB, free: 4.473 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001653/0.03594, allocations: 3.505 MB / 0.5036 GB, free: 0.8477 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003677/0.03631, allocations: 68.02 kB / 0.5037 GB, free: 0.7812 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.269e-05/0.03634, allocations: 20 kB / 0.5037 GB, free: 0.7617 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 2 (thermalConvection.turb_flag,thermalConvection1.turb_flag) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002362/0.03658, allocations: 192.4 kB / 0.5039 GB, free: 0.5625 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/0.03668, allocations: 107.5 kB / 0.504 GB, free: 468 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001055/0.03774, allocations: 0.7018 MB / 0.5047 GB, free: 15.74 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.03775, allocations: 8 kB / 0.5047 GB, free: 15.73 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.03775, allocations: 0 / 0.5047 GB, free: 15.73 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.03775, allocations: 4 kB / 0.5047 GB, free: 15.73 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001226/0.03898, allocations: 0.9925 MB / 0.5057 GB, free: 14.68 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.03899, allocations: 12 kB / 0.5057 GB, free: 14.67 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001655/0.03915, allocations: 67.91 kB / 0.5057 GB, free: 14.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000824/0.03998, allocations: 299 kB / 0.506 GB, free: 14.3 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.02e-05/0.04001, allocations: 15.98 kB / 0.506 GB, free: 14.28 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001488/0.04149, allocations: 3.497 MB / 0.5095 GB, free: 10.61 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.0415, allocations: 3.938 kB / 0.5095 GB, free: 10.6 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002147/0.04364, allocations: 0.8506 MB / 0.5103 GB, free: 9.711 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003181/0.04396, allocations: 123.2 kB / 0.5104 GB, free: 9.59 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.157e-05/0.04404, allocations: 8.188 kB / 0.5104 GB, free: 9.582 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002996/0.04434, allocations: 19.98 kB / 0.5104 GB, free: 9.562 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.923e-05/0.04443, allocations: 44.38 kB / 0.5105 GB, free: 9.52 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.034e-05/0.04447, allocations: 15.98 kB / 0.5105 GB, free: 9.504 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003899/0.04486, allocations: 402.8 kB / 0.5109 GB, free: 9.117 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.04486, allocations: 0 / 0.5109 GB, free: 9.117 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0008332/0.0457, allocations: 239.5 kB / 0.5111 GB, free: 8.883 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (heatCapacitor.T,thermalConvection1.inlet.m_flow,heatCapacitor1.T) * 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 (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,6), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002733/0.04597, allocations: 174.9 kB / 0.5113 GB, free: 8.703 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0009149/0.04688, allocations: 0.5062 MB / 0.5118 GB, free: 8.176 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.04689, allocations: 4.062 kB / 0.5118 GB, free: 8.172 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005181/0.04741, allocations: 377 kB / 0.5121 GB, free: 7.781 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001203/0.04861, allocations: 277.3 kB / 0.5124 GB, free: 7.527 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002877/0.05149, allocations: 1.411 MB / 0.5138 GB, free: 6.062 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001788/0.05167, allocations: 159.2 kB / 0.5139 GB, free: 5.883 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005293/0.05219, allocations: 111.5 kB / 0.514 GB, free: 5.781 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005092/0.0527, allocations: 270 kB / 0.5143 GB, free: 5.516 MB / 442.7 MB Notification: Performance of SimCode: time 1.173e-06/0.05271, allocations: 4 kB / 0.5143 GB, free: 5.512 MB / 442.7 MB Notification: Performance of Templates: time 0.02517/0.07788, allocations: 13.19 MB / 0.5272 GB, free: 8.629 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.sim & ./ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.ConvectivePipe_serial_ref.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.929934976156801]