Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement.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.001392/0.001392, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001457/0.001457, allocations: 169 kB / 23.27 MB, free: 1.219 MB / 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.9341/0.9341, allocations: 177.1 MB / 203.7 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo): time 0.6891/0.6891, allocations: 118.6 MB / 378.9 MB, free: 1.395 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/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.ConductionElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|conductionElement.h|conductionElement1.deltaE_system|conductionElement1.h|conductionElement1.inlet.m_flow|conductionElement2.h|conductionElement2.inlet.m_flow|conductionElement3.deltaE_system|conductionElement3.h|conductionElement4.h|sink.inlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement") translateModel(ThermofluidStream.Processes.Tests.ConductionElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|conductionElement.h|conductionElement1.deltaE_system|conductionElement1.h|conductionElement1.inlet.m_flow|conductionElement2.h|conductionElement2.inlet.m_flow|conductionElement3.deltaE_system|conductionElement3.h|conductionElement4.h|sink.inlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 484.1 MB, free: 8.074 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.99e-05/2.139e-05, allocations: 2.312 kB / 484.1 MB, free: 8.07 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConductionElement): time 0.01174/0.01176, allocations: 11.71 MB / 495.8 MB, free: 184 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.007771/0.01953, allocations: 2.351 MB / 498.1 MB, free: 14.52 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002744/0.02227, allocations: 118.3 kB / 498.2 MB, free: 14.46 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001654/0.02393, allocations: 326.4 kB / 498.6 MB, free: 14.27 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007071/0.031, allocations: 1.644 MB / 0.4885 GB, free: 13.34 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00222/0.03322, allocations: 0.5549 MB / 0.489 GB, free: 13.05 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.00547/0.03869, allocations: 2.744 MB / 0.4917 GB, free: 11.64 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008271/0.03951, allocations: 330.8 kB / 0.492 GB, free: 11.45 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004843/0.04436, allocations: 1.835 MB / 0.4938 GB, free: 10.22 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001394/0.04575, allocations: 0.8091 MB / 0.4946 GB, free: 9.582 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000306/0.04606, allocations: 136 kB / 0.4947 GB, free: 9.449 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002733/0.04879, allocations: 1.226 MB / 0.4959 GB, free: 8.508 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003787/0.04917, allocations: 383.6 kB / 0.4963 GB, free: 8.188 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009958/0.05016, allocations: 0.5901 MB / 0.4969 GB, free: 7.645 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002772/0.05294, allocations: 1.832 MB / 0.4987 GB, free: 5.809 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.05294, allocations: 4 kB / 0.4987 GB, free: 5.805 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.05294, allocations: 3.938 kB / 0.4987 GB, free: 5.801 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.423e-05/0.05297, allocations: 4 kB / 0.4987 GB, free: 5.797 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: 302 * Number of variables: 302 Notification: Performance of Generate backend data structure: time 0.003361/0.05633, allocations: 2.264 MB / 0.5009 GB, free: 3.488 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.05637, allocations: 12.03 kB / 0.5009 GB, free: 3.477 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001679/0.05805, allocations: 0.5069 MB / 0.5014 GB, free: 2.969 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001701/0.05975, allocations: 1.183 MB / 0.5025 GB, free: 1.738 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.775e-05/0.05983, allocations: 98.64 kB / 0.5026 GB, free: 1.641 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001844/0.06001, allocations: 131.9 kB / 0.5028 GB, free: 1.512 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001646/0.06166, allocations: 1.046 MB / 0.5038 GB, free: 380 kB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.297e-05/0.06168, allocations: 4 kB / 0.5038 GB, free: 376 kB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.507e-05/0.06177, allocations: 48 kB / 0.5038 GB, free: 328 kB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.024e-05/0.06183, allocations: 50.33 kB / 0.5039 GB, free: 276 kB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00101/0.06284, allocations: 459.7 kB / 0.5043 GB, free: 15.81 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005647/0.06848, allocations: 3.972 MB / 0.5082 GB, free: 11.73 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001161/0.06964, allocations: 0.5396 MB / 0.5087 GB, free: 11.18 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004243/0.07007, allocations: 303 kB / 0.509 GB, free: 10.89 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001678/0.07024, allocations: 87.62 kB / 0.5091 GB, free: 10.8 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/0.07027, allocations: 46.39 kB / 0.5091 GB, free: 10.75 MB / 442.7 MB Notification: Performance of pre-optimization done (n=100): time 3.516e-06/0.07027, allocations: 0 / 0.5091 GB, free: 10.75 MB / 442.7 MB Notification: Performance of matching and sorting (n=103): time 0.00429/0.07456, allocations: 1.98 MB / 0.5111 GB, free: 8.73 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.0746, allocations: 68.28 kB / 0.5111 GB, free: 8.648 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001031/0.07563, allocations: 0.9465 MB / 0.5121 GB, free: 7.695 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.333e-05/0.07569, allocations: 49.7 kB / 0.5121 GB, free: 7.641 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004469/0.07613, allocations: 0.7631 MB / 0.5129 GB, free: 6.871 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002297/0.07636, allocations: 388.6 kB / 0.5132 GB, free: 6.488 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002529/0.07662, allocations: 208.5 kB / 0.5134 GB, free: 6.273 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.07676, allocations: 0.5276 MB / 0.5139 GB, free: 5.738 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002788/0.07704, allocations: 150.5 kB / 0.5141 GB, free: 5.594 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004226/0.07747, allocations: 375.9 kB / 0.5144 GB, free: 5.16 MB / 442.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: conductionElement.deltaE_system = $START.conductionElement.deltaE_system (0.0 = $START.conductionElement.deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: conductionElement2.deltaE_system = $START.conductionElement2.deltaE_system (0.0 = $START.conductionElement2.deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: conductionElement4.deltaE_system = $START.conductionElement4.deltaE_system (0.0 = $START.conductionElement4.deltaE_system) Notification: Performance of analyzeInitialSystem (initialization): time 0.0009236/0.07839, allocations: 0.5992 MB / 0.515 GB, free: 4.5 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.07839, allocations: 0 / 0.515 GB, free: 4.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.001674/0.08007, allocations: 0.9713 MB / 0.516 GB, free: 3.508 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.08009, allocations: 8 kB / 0.516 GB, free: 3.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.0801, allocations: 4 kB / 0.516 GB, free: 3.496 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006013/0.0807, allocations: 225.8 kB / 0.5162 GB, free: 3.266 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000597/0.0813, allocations: 227.7 kB / 0.5164 GB, free: 3.043 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004643/0.08594, allocations: 6.214 MB / 0.5225 GB, free: 12.49 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006763/0.08662, allocations: 31.98 kB / 0.5225 GB, free: 12.46 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.007e-05/0.0867, allocations: 39.98 kB / 0.5226 GB, free: 12.42 MB / 458.7 MB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: conductionElement.deltaE_system = $START.conductionElement.deltaE_system conductionElement2.deltaE_system = $START.conductionElement2.deltaE_system conductionElement4.deltaE_system = $START.conductionElement4.deltaE_system. 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 (115): * Single equations (assignments): 112 * 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): 3 systems {(1,2,100.0%), (4,14,75.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000403/0.0871, allocations: 223.8 kB / 0.5228 GB, free: 12.19 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002729/0.08737, allocations: 183 kB / 0.5229 GB, free: 12.01 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001673/0.08905, allocations: 1.104 MB / 0.524 GB, free: 10.88 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/0.08906, allocations: 16 kB / 0.524 GB, free: 10.87 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.08907, allocations: 4 kB / 0.524 GB, free: 10.86 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/0.08908, allocations: 3.984 kB / 0.524 GB, free: 10.86 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003618/0.09269, allocations: 2.062 MB / 0.5261 GB, free: 8.707 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.052e-06/0.0927, allocations: 7.938 kB / 0.5261 GB, free: 8.699 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006079/0.09331, allocations: 184.1 kB / 0.5262 GB, free: 8.52 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006685/0.09398, allocations: 239.8 kB / 0.5265 GB, free: 8.273 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.806e-05/0.09405, allocations: 43.97 kB / 0.5265 GB, free: 8.23 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003985/0.09804, allocations: 6.219 MB / 0.5326 GB, free: 1.672 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.09804, allocations: 4 kB / 0.5326 GB, free: 1.668 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002168/0.1002, allocations: 1.36 MB / 0.5339 GB, free: 240 kB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003241/0.1005, allocations: 214.9 kB / 0.5341 GB, free: 24 kB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.478e-05/0.1006, allocations: 32.06 kB / 0.5342 GB, free: 15.99 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002941/0.1009, allocations: 43.92 kB / 0.5342 GB, free: 15.95 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001373/0.1011, allocations: 100.7 kB / 0.5343 GB, free: 15.85 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.934e-05/0.1011, allocations: 39.97 kB / 0.5343 GB, free: 15.81 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003725/0.1015, allocations: 0.5551 MB / 0.5349 GB, free: 15.25 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1015, allocations: 0 / 0.5349 GB, free: 15.25 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001043/0.1025, allocations: 451.7 kB / 0.5353 GB, free: 14.81 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 12 (conductionElement.h,conductionElement1.inlet.m_flow,conductionElement1.h,conductionElement1.deltaE_system,conductionElement2.inlet.m_flow,conductionElement2.h,splitterX.splitterN.inlet.m_flow,conductionElement3.inlet.m_flow,conductionElement3.h,conductionElement3.deltaE_system,conductionElement4.h,flowResistance.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 (88): * Single equations (assignments): 85 * 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): 3 systems {(4,14,75.0%), (1,3,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004744/0.103, allocations: 298.5 kB / 0.5356 GB, free: 14.51 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001265/0.1043, allocations: 1.226 MB / 0.5368 GB, free: 13.23 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.1043, allocations: 4 kB / 0.5368 GB, free: 13.23 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007735/0.105, allocations: 0.9734 MB / 0.5377 GB, free: 12.2 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001321/0.1064, allocations: 0.5501 MB / 0.5383 GB, free: 11.68 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00387/0.1102, allocations: 2.915 MB / 0.5411 GB, free: 8.672 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002507/0.1105, allocations: 290.2 kB / 0.5414 GB, free: 8.367 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0008164/0.1113, allocations: 344.8 kB / 0.5417 GB, free: 8.027 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007502/0.1121, allocations: 0.5018 MB / 0.5422 GB, free: 7.523 MB / 474.7 MB Notification: Performance of SimCode: time 1.613e-06/0.1121, allocations: 4 kB / 0.5422 GB, free: 7.52 MB / 474.7 MB Notification: Performance of Templates: time 0.03818/0.1502, allocations: 27.17 MB / 0.5688 GB, free: 12.88 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement.sim & ./ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.ConductionElement_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.ConductionElement_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: 4.272488482762128]