Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.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.0009913/0.0009913, 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.0009768/0.0009768, 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 0.9794/0.9794, allocations: 177.2 MB / 203.8 MB, free: 5.469 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.7693/0.7693, allocations: 118.6 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.Compressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|compressor1.m_flow|compressor1.omega|compressor1.phi|source.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor") translateModel(ThermofluidStream.Processes.Tests.Compressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|compressor1.m_flow|compressor1.omega|compressor1.phi|source.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 3.938 kB / 430.9 MB, free: 13.33 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.707e-05/1.85e-05, allocations: 6.312 kB / 430.9 MB, free: 13.32 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.2261/0.2261, allocations: 28.59 MB / 459.4 MB, free: 11.71 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002804/0.2289, allocations: 2.545 MB / 462 MB, free: 10.19 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003114/0.2292, allocations: 33.56 kB / 462 MB, free: 10.17 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002964/0.2295, allocations: 134.8 kB / 462.2 MB, free: 10.07 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006736/0.2302, allocations: 437 kB / 462.6 MB, free: 9.719 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008357/0.231, allocations: 495.6 kB / 463.1 MB, free: 9.34 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006729/0.2317, allocations: 1.046 MB / 464.1 MB, free: 8.707 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001408/0.2319, allocations: 117 kB / 464.2 MB, free: 8.637 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/Media/myMedia/Water/IF97_Utilities.mo:901:9-901:73:writable] Warning: Output parameter bpro.cv was not assigned a value. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/Media/myMedia/Water/IF97_Utilities.mo:938:9-938:73:writable] Warning: Output parameter bpro.cv was not assigned a value. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/Media/myMedia/Water/IF97_Utilities.mo:901:9-901:73:writable] Warning: Output parameter bpro.cv was not assigned a value. This is deprecated and will become an error in future releases. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/Media/myMedia/Water/IF97_Utilities.mo:938:9-938:73:writable] Warning: Output parameter bpro.cv was not assigned a value. This is deprecated and will become an error in future releases. Notification: Performance of NFEvalConstants.evaluate: time 0.01875/0.2506, allocations: 12.27 MB / 476.5 MB, free: 13.73 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004531/0.2511, allocations: 359 kB / 476.8 MB, free: 13.38 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 6.994e-05/0.2511, allocations: 52 kB / 476.9 MB, free: 13.32 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004387/0.2555, allocations: 3.554 MB / 480.5 MB, free: 9.734 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001145/0.2556, allocations: 159.3 kB / 480.6 MB, free: 9.578 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000189/0.2558, allocations: 239.4 kB / 480.8 MB, free: 9.344 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009857/0.2568, allocations: 0.8531 MB / 481.7 MB, free: 8.488 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.2568, allocations: 0 / 481.7 MB, free: 8.488 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.2568, allocations: 4 kB / 481.7 MB, free: 8.484 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.2568, allocations: 4 kB / 481.7 MB, free: 8.48 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001219/0.258, allocations: 0.9501 MB / 482.7 MB, free: 7.504 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.147e-05/0.2581, allocations: 16.03 kB / 482.7 MB, free: 7.488 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001787/0.2583, allocations: 112.7 kB / 482.8 MB, free: 7.379 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007591/0.259, allocations: 439.3 kB / 483.2 MB, free: 6.922 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.233e-05/0.2591, allocations: 140.4 kB / 483.3 MB, free: 6.762 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.234e-05/0.2592, allocations: 53.2 kB / 483.4 MB, free: 6.711 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004901/0.2596, allocations: 494.8 kB / 483.9 MB, free: 6.195 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.096e-05/0.2597, allocations: 1.625 kB / 483.9 MB, free: 6.195 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.83e-05/0.2597, allocations: 16 kB / 483.9 MB, free: 6.18 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.162e-05/0.2597, allocations: 17 kB / 483.9 MB, free: 6.164 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002982/0.26, allocations: 217.6 kB / 484.1 MB, free: 5.949 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001674/0.2617, allocations: 1.323 MB / 485.4 MB, free: 4.602 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006262/0.2623, allocations: 426.5 kB / 485.9 MB, free: 4.184 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001849/0.2625, allocations: 142.6 kB / 486 MB, free: 4.039 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000656/0.2632, allocations: 324.2 kB / 486.3 MB, free: 3.719 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.2632, allocations: 43.06 kB / 486.4 MB, free: 3.668 MB / 426.7 MB Notification: Performance of pre-optimization done (n=63): time 2.164e-06/0.2632, allocations: 0 / 486.4 MB, free: 3.668 MB / 426.7 MB Notification: Performance of matching and sorting (n=65): time 0.001518/0.2647, allocations: 1.019 MB / 487.4 MB, free: 2.617 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.879e-05/0.2648, allocations: 60.06 kB / 487.4 MB, free: 2.547 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002126/0.265, allocations: 363.3 kB / 487.8 MB, free: 2.18 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.214e-05/0.265, allocations: 37.7 kB / 487.8 MB, free: 2.137 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.985e-05/0.2651, allocations: 206.7 kB / 488 MB, free: 1.93 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001125/0.2652, allocations: 226 kB / 488.3 MB, free: 1.707 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001257/0.2653, allocations: 118.2 kB / 488.4 MB, free: 1.586 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.2654, allocations: 370.6 kB / 488.7 MB, free: 1.215 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001066/0.2655, allocations: 73.27 kB / 488.8 MB, free: 1.145 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00014/0.2657, allocations: 144.3 kB / 488.9 MB, free: 0.9844 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002955/0.266, allocations: 284.4 kB / 489.2 MB, free: 0.6875 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.266, allocations: 0 / 489.2 MB, free: 0.6875 MB / 426.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0005152/0.2665, allocations: 416.6 kB / 489.6 MB, free: 276 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.2665, allocations: 8 kB / 489.6 MB, free: 268 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.2665, allocations: 4 kB / 489.6 MB, free: 264 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002376/0.2668, allocations: 105.4 kB / 489.7 MB, free: 156 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002797/0.267, allocations: 115.8 kB / 489.9 MB, free: 40 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001579/0.2686, allocations: 1.846 MB / 491.7 MB, free: 14.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001512/0.2688, allocations: 17.06 kB / 491.7 MB, free: 14.09 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.383e-05/0.2688, allocations: 19.98 kB / 491.7 MB, free: 14.07 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (56): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001299/0.2689, allocations: 140.6 kB / 491.9 MB, free: 13.92 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001167/0.269, allocations: 71.88 kB / 491.9 MB, free: 13.85 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006767/0.2697, allocations: 0.5714 MB / 492.5 MB, free: 13.26 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.2697, allocations: 4 kB / 492.5 MB, free: 13.26 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.2697, allocations: 7.984 kB / 492.5 MB, free: 13.25 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.2697, allocations: 0 / 492.5 MB, free: 13.25 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009963/0.2707, allocations: 0.8416 MB / 493.4 MB, free: 12.38 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.468e-06/0.2707, allocations: 7.984 kB / 493.4 MB, free: 12.37 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002604/0.271, allocations: 109 kB / 493.5 MB, free: 12.26 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002128/0.2712, allocations: 119.6 kB / 493.6 MB, free: 12.14 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.061e-05/0.2712, allocations: 15.98 kB / 493.6 MB, free: 12.13 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001213/0.2725, allocations: 1.836 MB / 495.5 MB, free: 10.2 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.2725, allocations: 8.484 kB / 495.5 MB, free: 10.2 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007256/0.2732, allocations: 0.6446 MB / 496.1 MB, free: 9.516 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001136/0.2733, allocations: 79.52 kB / 496.2 MB, free: 9.438 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.318e-05/0.2733, allocations: 20.81 kB / 496.2 MB, free: 9.418 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001409/0.2735, allocations: 12 kB / 496.2 MB, free: 9.406 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.291e-05/0.2736, allocations: 52.39 kB / 496.3 MB, free: 9.355 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.701e-05/0.2736, allocations: 15.98 kB / 496.3 MB, free: 9.34 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001381/0.2737, allocations: 176.4 kB / 496.5 MB, free: 9.164 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2737, allocations: 0 / 496.5 MB, free: 9.164 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004728/0.2742, allocations: 239.6 kB / 496.7 MB, free: 8.93 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (compressor1.m_flow,compressor1.phi,compressor1.omega,splitterN.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 (51): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002993/0.2745, allocations: 231.2 kB / 496.9 MB, free: 8.699 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000911/0.2754, allocations: 0.5502 MB / 497.5 MB, free: 8.125 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.204e-06/0.2754, allocations: 4 kB / 497.5 MB, free: 8.121 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000387/0.2758, allocations: 451.9 kB / 497.9 MB, free: 7.652 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005687/0.2764, allocations: 245.7 kB / 498.2 MB, free: 7.438 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001597/0.278, allocations: 1.155 MB / 499.3 MB, free: 6.242 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001014/0.2781, allocations: 151.6 kB / 499.5 MB, free: 6.074 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.000257/0.2783, allocations: 110.4 kB / 499.6 MB, free: 5.973 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003606/0.2787, allocations: 229.1 kB / 499.8 MB, free: 5.75 MB / 442.7 MB Notification: Performance of SimCode: time 7.41e-07/0.2787, allocations: 0 / 499.8 MB, free: 5.75 MB / 442.7 MB Notification: Performance of Templates: time 0.01547/0.2942, allocations: 13.88 MB / 0.5016 GB, free: 8.238 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.sim & ./ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.Compressor_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.Compressor_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.88211524579674]