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.001118/0.001118, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001033/0.001033, allocations: 169 kB / 23.02 MB, free: 1.555 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.057/1.057, allocations: 177.1 MB / 203.4 MB, free: 5.621 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.8029/0.8029, allocations: 118.6 MB / 378.6 MB, free: 1.469 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 2.415e-06/2.415e-06, allocations: 0 / 483.6 MB, free: 8.266 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.321e-05/3.563e-05, allocations: 2.312 kB / 483.6 MB, free: 8.262 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConductionElement): time 0.0143/0.01433, allocations: 11.86 MB / 495.5 MB, free: 380 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003711/0.01804, allocations: 2.35 MB / 497.8 MB, free: 14.72 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006367/0.01868, allocations: 122.7 kB / 497.9 MB, free: 14.66 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007463/0.01943, allocations: 321.6 kB / 498.3 MB, free: 14.47 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003682/0.02311, allocations: 1.643 MB / 499.9 MB, free: 13.54 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001147/0.02426, allocations: 0.5472 MB / 0.4887 GB, free: 13.26 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.00274/0.027, allocations: 2.743 MB / 0.4914 GB, free: 11.85 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005408/0.02754, allocations: 342.8 kB / 0.4917 GB, free: 11.64 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00271/0.03025, allocations: 1.794 MB / 0.4935 GB, free: 10.35 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009517/0.0312, allocations: 0.791 MB / 0.4943 GB, free: 9.723 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00016/0.03136, allocations: 136 kB / 0.4944 GB, free: 9.59 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001911/0.03327, allocations: 1.219 MB / 0.4956 GB, free: 8.656 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002771/0.03355, allocations: 383.1 kB / 0.4959 GB, free: 8.336 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005164/0.03406, allocations: 0.599 MB / 0.4965 GB, free: 7.785 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001761/0.03582, allocations: 1.83 MB / 0.4983 GB, free: 5.957 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.03583, allocations: 0 / 0.4983 GB, free: 5.957 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.817e-06/0.03583, allocations: 7.984 kB / 0.4983 GB, free: 5.949 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.481e-05/0.03585, allocations: 0 / 0.4983 GB, free: 5.949 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.002343/0.03819, allocations: 2.276 MB / 0.5005 GB, free: 3.629 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.03824, allocations: 8.031 kB / 0.5005 GB, free: 3.621 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001157/0.03939, allocations: 0.5069 MB / 0.501 GB, free: 3.113 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001397/0.04079, allocations: 1.203 MB / 0.5022 GB, free: 1.863 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.949e-05/0.04085, allocations: 94.69 kB / 0.5023 GB, free: 1.77 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001376/0.04099, allocations: 127.9 kB / 0.5024 GB, free: 1.645 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001447/0.04243, allocations: 1.128 MB / 0.5035 GB, free: 432 kB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.017e-05/0.04245, allocations: 0 / 0.5035 GB, free: 432 kB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.419e-05/0.04253, allocations: 51.98 kB / 0.5036 GB, free: 380 kB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.088e-05/0.04259, allocations: 54.31 kB / 0.5036 GB, free: 324 kB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001045/0.04363, allocations: 0.5794 MB / 0.5042 GB, free: 15.73 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004303/0.04794, allocations: 4.17 MB / 0.5083 GB, free: 11.45 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001066/0.049, allocations: 0.5943 MB / 0.5089 GB, free: 10.84 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005163/0.04952, allocations: 355 kB / 0.5092 GB, free: 10.5 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001255/0.04965, allocations: 60.95 kB / 0.5092 GB, free: 10.43 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.382e-05/0.04968, allocations: 50.39 kB / 0.5093 GB, free: 10.38 MB / 442.7 MB Notification: Performance of pre-optimization done (n=100): time 1.894e-06/0.04968, allocations: 0 / 0.5093 GB, free: 10.38 MB / 442.7 MB Notification: Performance of matching and sorting (n=103): time 0.003806/0.05349, allocations: 2.365 MB / 0.5116 GB, free: 7.969 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.373e-05/0.05353, allocations: 64.39 kB / 0.5117 GB, free: 7.891 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000819/0.05435, allocations: 0.9706 MB / 0.5126 GB, free: 6.914 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.391e-05/0.0544, allocations: 41.7 kB / 0.5127 GB, free: 6.867 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000412/0.05482, allocations: 0.7555 MB / 0.5134 GB, free: 6.105 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002163/0.05503, allocations: 388.7 kB / 0.5138 GB, free: 5.723 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002238/0.05526, allocations: 204.5 kB / 0.514 GB, free: 5.512 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.05542, allocations: 0.5199 MB / 0.5145 GB, free: 4.984 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003161/0.05574, allocations: 202.4 kB / 0.5147 GB, free: 4.789 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004427/0.05618, allocations: 408.9 kB / 0.515 GB, free: 4.32 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: conductionElement4.deltaE_system = $START.conductionElement4.deltaE_system (0.0 = $START.conductionElement4.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: conductionElement.deltaE_system = $START.conductionElement.deltaE_system (0.0 = $START.conductionElement.deltaE_system) Notification: Performance of analyzeInitialSystem (initialization): time 0.0009186/0.0571, allocations: 0.6873 MB / 0.5157 GB, free: 3.57 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.0571, allocations: 3.938 kB / 0.5157 GB, free: 3.566 MB / 442.7 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.00134/0.05844, allocations: 1.066 MB / 0.5168 GB, free: 2.48 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.05846, allocations: 4 kB / 0.5168 GB, free: 2.477 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.05847, allocations: 4 kB / 0.5168 GB, free: 2.473 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005264/0.059, allocations: 225.9 kB / 0.517 GB, free: 2.242 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000464/0.05946, allocations: 231.7 kB / 0.5172 GB, free: 2.016 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003651/0.06311, allocations: 6.338 MB / 0.5234 GB, free: 11.31 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003056/0.06342, allocations: 35.98 kB / 0.5234 GB, free: 11.27 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.56e-05/0.06349, allocations: 55.97 kB / 0.5235 GB, free: 11.22 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: conductionElement4.deltaE_system = $START.conductionElement4.deltaE_system conductionElement2.deltaE_system = $START.conductionElement2.deltaE_system conductionElement.deltaE_system = $START.conductionElement.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 {(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 prepare postOptimizeDAE: time 0.0002742/0.06377, allocations: 212.3 kB / 0.5237 GB, free: 11 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001881/0.06395, allocations: 190.9 kB / 0.5239 GB, free: 10.81 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001561/0.06552, allocations: 1.178 MB / 0.525 GB, free: 9.613 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.06552, allocations: 12 kB / 0.525 GB, free: 9.602 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.363e-06/0.06553, allocations: 7.984 kB / 0.525 GB, free: 9.594 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.916e-06/0.06554, allocations: 3.984 kB / 0.525 GB, free: 9.59 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002917/0.06846, allocations: 2.322 MB / 0.5273 GB, free: 7.176 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.06846, allocations: 4 kB / 0.5273 GB, free: 7.172 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004185/0.06888, allocations: 188 kB / 0.5275 GB, free: 6.988 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004794/0.06936, allocations: 239.9 kB / 0.5277 GB, free: 6.742 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.241e-05/0.06942, allocations: 43.95 kB / 0.5278 GB, free: 6.699 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003492/0.07291, allocations: 6.347 MB / 0.534 GB, free: 15.99 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.07292, allocations: 4 kB / 0.534 GB, free: 15.98 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001764/0.07468, allocations: 1.473 MB / 0.5354 GB, free: 14.43 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003127/0.07499, allocations: 222.9 kB / 0.5356 GB, free: 14.21 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.767e-05/0.07508, allocations: 31.98 kB / 0.5356 GB, free: 14.18 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002842/0.07536, allocations: 35.98 kB / 0.5357 GB, free: 14.15 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001791/0.07554, allocations: 104.7 kB / 0.5358 GB, free: 14.05 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-05/0.0756, allocations: 47.97 kB / 0.5358 GB, free: 14 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0005356/0.07614, allocations: 0.5945 MB / 0.5364 GB, free: 13.4 MB / 474.7 MB Notification: Performance of sort global known variables: time 7e-08/0.07614, allocations: 0 / 0.5364 GB, free: 13.4 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001028/0.07717, allocations: 451.7 kB / 0.5368 GB, free: 12.96 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.0004819/0.07765, allocations: 282.5 kB / 0.5371 GB, free: 12.67 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001499/0.07915, allocations: 1.296 MB / 0.5384 GB, free: 11.32 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.07915, allocations: 0 / 0.5384 GB, free: 11.32 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000851/0.08, allocations: 1.021 MB / 0.5394 GB, free: 10.25 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001337/0.08134, allocations: 0.5643 MB / 0.5399 GB, free: 9.723 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003548/0.08489, allocations: 2.928 MB / 0.5428 GB, free: 6.703 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002207/0.08511, allocations: 290.2 kB / 0.5431 GB, free: 6.395 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005587/0.08567, allocations: 342.1 kB / 0.5434 GB, free: 6.055 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002713/0.08594, allocations: 148.4 kB / 0.5435 GB, free: 5.906 MB / 474.7 MB Notification: Performance of SimCode: time 9.62e-07/0.08594, allocations: 0 / 0.5435 GB, free: 5.906 MB / 474.7 MB Notification: Performance of Templates: time 0.02908/0.115, allocations: 24.83 MB / 0.5678 GB, free: 13.55 MB / 0.4948 GB " [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 -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: 5.071530197747052]