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.001352/0.001352, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001073/0.001073, allocations: 181 kB / 23.36 MB, free: 1.133 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 1.023/1.023, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.7804/0.7804, allocations: 118.7 MB / 378.9 MB, free: 1.371 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.403e-06/1.403e-06, allocations: 0 / 430.8 MB, free: 13.33 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.144e-05/2.284e-05, allocations: 2.312 kB / 430.9 MB, free: 13.32 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConductionElement): time 0.01002/0.01004, allocations: 11.81 MB / 442.7 MB, free: 1.461 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.2102/0.2202, allocations: 2.442 MB / 445.1 MB, free: 16.35 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001254/0.2215, allocations: 121.1 kB / 445.2 MB, free: 16.35 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006519/0.2221, allocations: 330.2 kB / 445.5 MB, free: 16.35 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003473/0.2256, allocations: 1.605 MB / 447.1 MB, free: 16.12 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001073/0.2267, allocations: 0.5456 MB / 447.7 MB, free: 16.1 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002709/0.2294, allocations: 2.739 MB / 450.4 MB, free: 15.36 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005323/0.2299, allocations: 358.5 kB / 450.8 MB, free: 15.23 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002424/0.2323, allocations: 1.767 MB / 452.5 MB, free: 15.08 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009323/0.2333, allocations: 0.7926 MB / 453.3 MB, free: 14.91 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002074/0.2335, allocations: 136.2 kB / 453.5 MB, free: 14.91 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001547/0.235, allocations: 1.221 MB / 454.7 MB, free: 14.76 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001969/0.2352, allocations: 374.2 kB / 455.1 MB, free: 14.54 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005338/0.2358, allocations: 0.5965 MB / 455.7 MB, free: 14.29 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001551/0.2373, allocations: 1.829 MB / 457.5 MB, free: 13.34 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2373, allocations: 0.875 kB / 457.5 MB, free: 13.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.2373, allocations: 0 / 457.5 MB, free: 13.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.56e-05/0.2373, allocations: 0.5625 kB / 457.5 MB, free: 13.34 MB / 410.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.002179/0.2395, allocations: 2.129 MB / 459.6 MB, free: 11.99 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.2396, allocations: 9.062 kB / 459.6 MB, free: 11.99 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001478/0.241, allocations: 495.2 kB / 460.1 MB, free: 11.78 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001199/0.2422, allocations: 1.032 MB / 461.1 MB, free: 11.21 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.211e-05/0.2423, allocations: 93.23 kB / 461.2 MB, free: 11.17 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001155/0.2424, allocations: 128.9 kB / 461.4 MB, free: 11.12 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001093/0.2435, allocations: 1.061 MB / 462.4 MB, free: 10.02 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.295e-05/0.2435, allocations: 0 / 462.4 MB, free: 10.02 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.678e-05/0.2436, allocations: 53.72 kB / 462.5 MB, free: 9.973 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.415e-05/0.2436, allocations: 47.08 kB / 462.5 MB, free: 9.926 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007065/0.2443, allocations: 431 kB / 462.9 MB, free: 9.504 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003158/0.2475, allocations: 3.037 MB / 466 MB, free: 6.562 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007739/0.2483, allocations: 0.5084 MB / 466.5 MB, free: 6.078 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002796/0.2485, allocations: 265.9 kB / 466.7 MB, free: 5.824 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001537/0.2487, allocations: 82.61 kB / 466.8 MB, free: 5.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/0.2487, allocations: 51.55 kB / 466.9 MB, free: 5.691 MB / 410.7 MB Notification: Performance of pre-optimization done (n=100): time 2.124e-06/0.2487, allocations: 0 / 466.9 MB, free: 5.691 MB / 410.7 MB Notification: Performance of matching and sorting (n=103): time 0.002582/0.2513, allocations: 1.786 MB / 468.7 MB, free: 3.891 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.995e-05/0.2513, allocations: 64.41 kB / 468.7 MB, free: 3.812 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004357/0.2518, allocations: 0.8854 MB / 469.6 MB, free: 3.094 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.367e-05/0.2518, allocations: 49.7 kB / 469.7 MB, free: 3.039 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001596/0.252, allocations: 0.5202 MB / 470.2 MB, free: 2.566 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001443/0.2521, allocations: 388.2 kB / 470.6 MB, free: 2.211 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001631/0.2523, allocations: 194.7 kB / 470.7 MB, free: 2.035 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.87e-05/0.2523, allocations: 361.1 kB / 471.1 MB, free: 1.699 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.2525, allocations: 122.6 kB / 471.2 MB, free: 1.582 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002063/0.2527, allocations: 303.1 kB / 471.5 MB, free: 1.258 MB / 410.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.0005086/0.2532, allocations: 0.534 MB / 472 MB, free: 0.7031 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.2532, allocations: 4 kB / 472.1 MB, free: 0.6992 MB / 410.7 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.0007822/0.254, allocations: 0.7342 MB / 472.8 MB, free: 15.95 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.254, allocations: 8 kB / 472.8 MB, free: 15.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.254, allocations: 4 kB / 472.8 MB, free: 15.94 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004414/0.2544, allocations: 203.1 kB / 473 MB, free: 15.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005097/0.2549, allocations: 247.6 kB / 473.2 MB, free: 15.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00281/0.2578, allocations: 4.386 MB / 477.6 MB, free: 10.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002926/0.258, allocations: 28 kB / 477.7 MB, free: 10.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.114e-05/0.2581, allocations: 51.41 kB / 477.7 MB, free: 10.84 MB / 426.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.0002311/0.2583, allocations: 177.1 kB / 477.9 MB, free: 10.65 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001487/0.2585, allocations: 119.8 kB / 478 MB, free: 10.54 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001115/0.2596, allocations: 0.9272 MB / 478.9 MB, free: 9.617 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.2596, allocations: 8 kB / 478.9 MB, free: 9.609 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.2596, allocations: 7.938 kB / 478.9 MB, free: 9.602 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.375e-06/0.2596, allocations: 11.86 kB / 478.9 MB, free: 9.59 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002044/0.2617, allocations: 1.647 MB / 480.6 MB, free: 8.016 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.858e-06/0.2617, allocations: 4 kB / 480.6 MB, free: 8.012 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004696/0.2621, allocations: 207.7 kB / 480.8 MB, free: 7.809 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004248/0.2626, allocations: 219 kB / 481 MB, free: 7.594 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.524e-05/0.2626, allocations: 35.97 kB / 481 MB, free: 7.559 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002521/0.2651, allocations: 4.383 MB / 485.4 MB, free: 2.965 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.2652, allocations: 11.94 kB / 485.4 MB, free: 2.953 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001115/0.2663, allocations: 1.07 MB / 486.5 MB, free: 1.852 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002125/0.2665, allocations: 155 kB / 486.7 MB, free: 1.699 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.514e-05/0.2666, allocations: 28.61 kB / 486.7 MB, free: 1.672 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002709/0.2668, allocations: 32.67 kB / 486.7 MB, free: 1.641 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001515/0.267, allocations: 104.7 kB / 486.8 MB, free: 1.539 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.682e-05/0.267, allocations: 35.97 kB / 486.9 MB, free: 1.504 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003046/0.2673, allocations: 458 kB / 487.3 MB, free: 1.109 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2673, allocations: 0 / 487.3 MB, free: 1.109 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008276/0.2682, allocations: 455.7 kB / 487.8 MB, free: 0.6641 MB / 426.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.0003978/0.2686, allocations: 270.5 kB / 488 MB, free: 412 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001025/0.2696, allocations: 1.011 MB / 489 MB, free: 15.37 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.522e-05/0.2696, allocations: 16 kB / 489 MB, free: 15.36 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006703/0.2703, allocations: 0.78 MB / 489.8 MB, free: 14.55 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001229/0.2715, allocations: 0.5448 MB / 490.4 MB, free: 14.05 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003222/0.2747, allocations: 2.665 MB / 493 MB, free: 11.33 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000228/0.275, allocations: 278.2 kB / 493.3 MB, free: 11.04 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0006198/0.2756, allocations: 334.6 kB / 493.6 MB, free: 10.73 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007824/0.2764, allocations: 446.6 kB / 494.1 MB, free: 10.29 MB / 442.7 MB Notification: Performance of SimCode: time 1.172e-06/0.2764, allocations: 0 / 494.1 MB, free: 10.29 MB / 442.7 MB Notification: Performance of Templates: time 0.03207/0.3084, allocations: 27.05 MB / 0.5089 GB, free: 15.88 MB / 474.7 MB " [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 -s gbode -gbm=radauIIA3 -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.414358786772937]