Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.0009975/0.0009975, allocations: 92.22 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.001049/0.001049, allocations: 169 kB / 23.02 MB, free: 1.551 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.9841/0.9841, allocations: 177.1 MB / 203.4 MB, free: 5.254 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.7532/0.7532, allocations: 118.6 MB / 378.6 MB, free: 1.48 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.Compressor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|compressor1.m_flow|compressor1.omega|compressor1.phi|source.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_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_dev_ThermofluidStream.Processes.Tests.Compressor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.756e-06/2.756e-06, allocations: 3.047 kB / 483.6 MB, free: 8.25 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.596e-05/2.872e-05, allocations: 5.547 kB / 483.6 MB, free: 8.246 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.03196/0.03199, allocations: 28.72 MB / 0.5003 GB, free: 3.777 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.002903/0.03489, allocations: 2.516 MB / 0.5028 GB, free: 1.41 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003683/0.03526, allocations: 39.69 kB / 0.5028 GB, free: 1.371 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004789/0.03574, allocations: 122.9 kB / 0.5029 GB, free: 1.25 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001022/0.03676, allocations: 452.8 kB / 0.5034 GB, free: 0.8047 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009577/0.03772, allocations: 498 kB / 0.5038 GB, free: 324 kB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008324/0.03855, allocations: 1.042 MB / 0.5048 GB, free: 15.27 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000233/0.03879, allocations: 102.3 kB / 0.5049 GB, free: 15.17 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/Media/myMedia/Water/IF97_Utilities.mo:901:9-901:73:writable] Warning: Output parameter bpro.cv was not assigned a value [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/Media/myMedia/Water/IF97_Utilities.mo:938:9-938:73:writable] Warning: Output parameter bpro.cv was not assigned a value [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/Media/myMedia/Water/IF97_Utilities.mo:901:9-901:73:writable] Warning: Output parameter bpro.cv was not assigned a value [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/Media/myMedia/Water/IF97_Utilities.mo:938:9-938:73:writable] Warning: Output parameter bpro.cv was not assigned a value Notification: Performance of NFEvalConstants.evaluate: time 0.02555/0.06433, allocations: 12.74 MB / 0.5174 GB, free: 2.332 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005216/0.06486, allocations: 359 kB / 0.5177 GB, free: 1.98 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 6.854e-05/0.06492, allocations: 56 kB / 0.5178 GB, free: 1.926 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005784/0.07071, allocations: 3.534 MB / 0.5212 GB, free: 14.36 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001537/0.07086, allocations: 159.4 kB / 0.5214 GB, free: 14.2 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002513/0.07111, allocations: 235.4 kB / 0.5216 GB, free: 13.97 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001264/0.07238, allocations: 0.8487 MB / 0.5224 GB, free: 13.12 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.07238, allocations: 4 kB / 0.5224 GB, free: 13.12 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.786e-06/0.07239, allocations: 0 / 0.5224 GB, free: 13.12 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.327e-05/0.0724, allocations: 0 / 0.5224 GB, free: 13.12 MB / 458.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.001616/0.07402, allocations: 1.098 MB / 0.5235 GB, free: 11.98 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.564e-05/0.07407, allocations: 11.97 kB / 0.5235 GB, free: 11.97 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000302/0.07437, allocations: 144.3 kB / 0.5237 GB, free: 11.83 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000671/0.07504, allocations: 0.4942 MB / 0.5241 GB, free: 11.3 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002766/0.07532, allocations: 144.4 kB / 0.5243 GB, free: 11.14 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.687e-05/0.0754, allocations: 52.33 kB / 0.5243 GB, free: 11.09 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006734/0.07607, allocations: 0.5187 MB / 0.5248 GB, free: 10.53 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.043e-05/0.07609, allocations: 0 / 0.5248 GB, free: 10.53 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.562e-05/0.07613, allocations: 20 kB / 0.5249 GB, free: 10.51 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.001e-05/0.07617, allocations: 21 kB / 0.5249 GB, free: 10.49 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000449/0.07662, allocations: 309.7 kB / 0.5252 GB, free: 10.19 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002139/0.07876, allocations: 1.849 MB / 0.527 GB, free: 8.285 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000842/0.0796, allocations: 0.4902 MB / 0.5275 GB, free: 7.781 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002974/0.0799, allocations: 190.1 kB / 0.5276 GB, free: 7.594 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007601/0.08066, allocations: 324.2 kB / 0.5279 GB, free: 7.277 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/0.08069, allocations: 41.89 kB / 0.528 GB, free: 7.227 MB / 458.7 MB Notification: Performance of pre-optimization done (n=63): time 2.364e-06/0.08069, allocations: 0 / 0.528 GB, free: 7.227 MB / 458.7 MB Notification: Performance of matching and sorting (n=65): time 0.002231/0.08292, allocations: 1.352 MB / 0.5293 GB, free: 5.836 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.08296, allocations: 60.06 kB / 0.5294 GB, free: 5.766 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002922/0.08325, allocations: 422.7 kB / 0.5298 GB, free: 5.34 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.375e-05/0.08328, allocations: 41.64 kB / 0.5298 GB, free: 5.293 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/0.08343, allocations: 300.3 kB / 0.5301 GB, free: 4.992 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001265/0.08356, allocations: 237.9 kB / 0.5303 GB, free: 4.758 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001251/0.08369, allocations: 116 kB / 0.5304 GB, free: 4.637 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.08384, allocations: 0.5469 MB / 0.531 GB, free: 4.078 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001856/0.08403, allocations: 117.2 kB / 0.5311 GB, free: 3.965 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003422/0.08437, allocations: 205.2 kB / 0.5313 GB, free: 3.738 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004397/0.08481, allocations: 358.8 kB / 0.5316 GB, free: 3.363 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.08481, allocations: 4 kB / 0.5316 GB, free: 3.359 MB / 458.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0007886/0.0856, allocations: 0.5939 MB / 0.5322 GB, free: 2.754 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.08562, allocations: 8 kB / 0.5322 GB, free: 2.746 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/0.08563, allocations: 4 kB / 0.5322 GB, free: 2.742 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002965/0.08593, allocations: 110.8 kB / 0.5323 GB, free: 2.633 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002634/0.08619, allocations: 119.8 kB / 0.5324 GB, free: 2.516 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001678/0.08787, allocations: 2.528 MB / 0.5349 GB, free: 15.87 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001391/0.08801, allocations: 19.98 kB / 0.5349 GB, free: 15.85 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.559e-05/0.08804, allocations: 23.98 kB / 0.5349 GB, free: 15.82 MB / 474.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.0001468/0.08819, allocations: 192.5 kB / 0.5351 GB, free: 15.62 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001288/0.08832, allocations: 99.48 kB / 0.5352 GB, free: 15.53 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009281/0.08925, allocations: 0.7298 MB / 0.5359 GB, free: 14.78 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.08925, allocations: 7.938 kB / 0.5359 GB, free: 14.77 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.08926, allocations: 4 kB / 0.5359 GB, free: 14.77 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.08926, allocations: 3.984 kB / 0.5359 GB, free: 14.77 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00139/0.09065, allocations: 1.215 MB / 0.5371 GB, free: 13.49 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.356e-06/0.09066, allocations: 4 kB / 0.5371 GB, free: 13.49 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002364/0.0909, allocations: 99.88 kB / 0.5372 GB, free: 13.39 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002433/0.09114, allocations: 126.4 kB / 0.5374 GB, free: 13.27 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.648e-05/0.09118, allocations: 27.92 kB / 0.5374 GB, free: 13.24 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001688/0.09287, allocations: 2.531 MB / 0.5399 GB, free: 10.59 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.09287, allocations: 3.938 kB / 0.5399 GB, free: 10.59 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001031/0.0939, allocations: 0.8973 MB / 0.5407 GB, free: 9.656 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001427/0.09404, allocations: 107.5 kB / 0.5408 GB, free: 9.551 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.106e-05/0.09408, allocations: 16 kB / 0.5409 GB, free: 9.535 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001521/0.09424, allocations: 15.98 kB / 0.5409 GB, free: 9.52 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.565e-05/0.0943, allocations: 56.34 kB / 0.5409 GB, free: 9.465 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.816e-05/0.09434, allocations: 27.98 kB / 0.5409 GB, free: 9.438 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001879/0.09453, allocations: 298.8 kB / 0.5412 GB, free: 9.145 MB / 474.7 MB Notification: Performance of sort global known variables: time 7e-08/0.09453, allocations: 0 / 0.5412 GB, free: 9.145 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0004905/0.09502, allocations: 251.5 kB / 0.5415 GB, free: 8.898 MB / 474.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.000367/0.09538, allocations: 234.7 kB / 0.5417 GB, free: 8.656 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0008764/0.09626, allocations: 0.6917 MB / 0.5424 GB, free: 7.926 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.09626, allocations: 0 / 0.5424 GB, free: 7.926 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004995/0.09676, allocations: 0.5361 MB / 0.5429 GB, free: 7.355 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00069/0.09745, allocations: 250.2 kB / 0.5431 GB, free: 7.125 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001842/0.0993, allocations: 1.231 MB / 0.5443 GB, free: 5.844 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001053/0.0994, allocations: 155.7 kB / 0.5445 GB, free: 5.672 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002243/0.09962, allocations: 128.3 kB / 0.5446 GB, free: 5.547 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/0.09975, allocations: 64.45 kB / 0.5447 GB, free: 5.484 MB / 474.7 MB Notification: Performance of SimCode: time 1.283e-06/0.09975, allocations: 0 / 0.5447 GB, free: 5.484 MB / 474.7 MB Notification: Performance of Templates: time 0.01428/0.114, allocations: 12.68 MB / 0.557 GB, free: 9.086 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor.sim & ./ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.Compressor.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_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: 4.3830209178850055]