Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.001411/0.001411, allocations: 80.75 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.00157/0.00157, 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.006/1.006, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.7137/0.7137, allocations: 118.6 MB / 378.9 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.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_dev_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_dev_ThermofluidStream.Processes.Tests.ConductionElement") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 430.8 MB, free: 13.27 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.615e-05/1.747e-05, allocations: 5.125 kB / 430.9 MB, free: 13.27 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConductionElement): time 0.01247/0.01248, allocations: 11.79 MB / 442.6 MB, free: 1.422 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1961/0.2086, allocations: 2.445 MB / 445.1 MB, free: 15.85 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001698/0.2103, allocations: 119.2 kB / 445.2 MB, free: 15.85 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008573/0.2112, allocations: 336.6 kB / 445.5 MB, free: 15.85 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003926/0.2151, allocations: 1.602 MB / 447.1 MB, free: 15.62 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001333/0.2164, allocations: 0.5426 MB / 447.7 MB, free: 15.6 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003149/0.2196, allocations: 2.735 MB / 450.4 MB, free: 14.86 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006404/0.2202, allocations: 364.7 kB / 450.8 MB, free: 14.73 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003392/0.2236, allocations: 1.771 MB / 452.5 MB, free: 14.58 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001187/0.2248, allocations: 0.7884 MB / 453.3 MB, free: 14.49 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002917/0.2251, allocations: 136.2 kB / 453.5 MB, free: 14.49 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00215/0.2272, allocations: 1.219 MB / 454.7 MB, free: 14.46 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002297/0.2275, allocations: 372.2 kB / 455 MB, free: 14.35 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008124/0.2283, allocations: 0.5946 MB / 455.6 MB, free: 14.12 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002248/0.2305, allocations: 1.833 MB / 457.5 MB, free: 13.17 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.2305, allocations: 0.875 kB / 457.5 MB, free: 13.17 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2305, allocations: 0 / 457.5 MB, free: 13.17 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.803e-05/0.2306, allocations: 3.656 kB / 457.5 MB, free: 13.17 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.002306/0.2329, allocations: 2.129 MB / 459.6 MB, free: 11.82 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.2329, allocations: 8.125 kB / 459.6 MB, free: 11.82 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001326/0.2342, allocations: 487.1 kB / 460.1 MB, free: 11.61 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001337/0.2356, allocations: 1.035 MB / 461.1 MB, free: 11.05 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.02e-05/0.2356, allocations: 96.91 kB / 461.2 MB, free: 11 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001112/0.2357, allocations: 130.2 kB / 461.3 MB, free: 10.96 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001083/0.2368, allocations: 1.059 MB / 462.4 MB, free: 9.871 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.25e-05/0.2368, allocations: 3.281 kB / 462.4 MB, free: 9.871 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.212e-05/0.2369, allocations: 48 kB / 462.5 MB, free: 9.824 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.397e-05/0.2369, allocations: 57.12 kB / 462.5 MB, free: 9.77 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007058/0.2376, allocations: 431.9 kB / 462.9 MB, free: 9.348 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003234/0.2409, allocations: 3.036 MB / 466 MB, free: 6.383 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007351/0.2416, allocations: 0.5023 MB / 466.5 MB, free: 5.902 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002594/0.2419, allocations: 269.7 kB / 466.7 MB, free: 5.648 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001607/0.242, allocations: 77.59 kB / 466.8 MB, free: 5.574 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/0.242, allocations: 47.56 kB / 466.9 MB, free: 5.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=100): time 2.745e-06/0.2421, allocations: 0 / 466.9 MB, free: 5.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=103): time 0.002578/0.2446, allocations: 1.8 MB / 468.7 MB, free: 3.707 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.782e-05/0.2446, allocations: 60.41 kB / 468.7 MB, free: 3.633 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004219/0.2451, allocations: 0.891 MB / 469.6 MB, free: 2.91 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.136e-05/0.2451, allocations: 45.7 kB / 469.6 MB, free: 2.859 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001515/0.2453, allocations: 0.5184 MB / 470.2 MB, free: 2.387 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001264/0.2454, allocations: 384.3 kB / 470.5 MB, free: 2.035 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001664/0.2456, allocations: 200.8 kB / 470.7 MB, free: 1.852 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.599e-05/0.2456, allocations: 352.4 kB / 471.1 MB, free: 1.523 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001531/0.2458, allocations: 126.5 kB / 471.2 MB, free: 1.402 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002017/0.246, allocations: 305.8 kB / 471.5 MB, free: 1.078 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.0005277/0.2465, allocations: 0.532 MB / 472 MB, free: 0.5234 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.2465, allocations: 4 kB / 472 MB, free: 0.5195 MB / 410.7 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.0008602/0.2473, allocations: 0.7299 MB / 472.8 MB, free: 15.78 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.2474, allocations: 8 kB / 472.8 MB, free: 15.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/0.2474, allocations: 4 kB / 472.8 MB, free: 15.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004748/0.2479, allocations: 211.4 kB / 473 MB, free: 15.56 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005357/0.2484, allocations: 247.6 kB / 473.2 MB, free: 15.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002815/0.2512, allocations: 4.38 MB / 477.6 MB, free: 10.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005049/0.2517, allocations: 31.98 kB / 477.6 MB, free: 10.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-05/0.2518, allocations: 47.84 kB / 477.7 MB, free: 10.66 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.0003079/0.2521, allocations: 173.3 kB / 477.9 MB, free: 10.48 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000172/0.2522, allocations: 123.8 kB / 478 MB, free: 10.36 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001167/0.2534, allocations: 0.9282 MB / 478.9 MB, free: 9.438 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.2534, allocations: 8 kB / 478.9 MB, free: 9.43 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.2534, allocations: 4 kB / 478.9 MB, free: 9.426 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.2534, allocations: 12.94 kB / 478.9 MB, free: 9.414 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002293/0.2557, allocations: 1.651 MB / 480.6 MB, free: 7.836 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.2557, allocations: 4 kB / 480.6 MB, free: 7.832 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004654/0.2562, allocations: 207.7 kB / 480.8 MB, free: 7.629 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000461/0.2567, allocations: 216 kB / 481 MB, free: 7.418 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.219e-05/0.2567, allocations: 39.97 kB / 481 MB, free: 7.379 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002585/0.2593, allocations: 4.388 MB / 485.4 MB, free: 2.781 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.2593, allocations: 4 kB / 485.4 MB, free: 2.777 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001281/0.2606, allocations: 1.068 MB / 486.5 MB, free: 1.676 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003172/0.2609, allocations: 165.7 kB / 486.7 MB, free: 1.516 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.148e-05/0.261, allocations: 24 kB / 486.7 MB, free: 1.492 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003037/0.2613, allocations: 36.5 kB / 486.7 MB, free: 1.457 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000163/0.2615, allocations: 100.8 kB / 486.8 MB, free: 1.359 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.159e-05/0.2615, allocations: 35.97 kB / 486.9 MB, free: 1.324 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003364/0.2619, allocations: 457.3 kB / 487.3 MB, free: 0.9297 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2619, allocations: 0 / 487.3 MB, free: 0.9297 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001085/0.263, allocations: 459.7 kB / 487.8 MB, free: 492 kB / 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.0005294/0.2635, allocations: 267.3 kB / 488 MB, free: 224 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001186/0.2647, allocations: 1.008 MB / 489 MB, free: 15.2 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.971e-05/0.2647, allocations: 16 kB / 489 MB, free: 15.18 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006921/0.2654, allocations: 0.7791 MB / 489.8 MB, free: 14.38 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001289/0.2667, allocations: 0.5543 MB / 490.4 MB, free: 13.87 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003542/0.2702, allocations: 2.657 MB / 493 MB, free: 11.16 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000245/0.2705, allocations: 282.2 kB / 493.3 MB, free: 10.86 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0009453/0.2714, allocations: 335.8 kB / 493.6 MB, free: 10.55 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008723/0.2723, allocations: 441.9 kB / 494.1 MB, free: 10.12 MB / 442.7 MB Notification: Performance of SimCode: time 2.395e-06/0.2723, allocations: 4 kB / 494.1 MB, free: 10.12 MB / 442.7 MB Notification: Performance of Templates: time 0.03424/0.3065, allocations: 27.06 MB / 0.5089 GB, free: 15.7 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConductionElement.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConductionElement.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConductionElement.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConductionElement.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConductionElement.sim & ./ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConductionElement -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConductionElement.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_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.2893119137734175]