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.001121/0.001121, allocations: 97.06 kB / 19.65 MB, free: 276 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.001042/0.001042, allocations: 173.3 kB / 23.02 MB, free: 1.547 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.9643/0.9643, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.6817/0.6817, allocations: 118.6 MB / 378.6 MB, free: 1.441 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.295e-06/2.295e-06, allocations: 0 / 483.6 MB, free: 8.277 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.587e-05/2.816e-05, allocations: 2.312 kB / 483.6 MB, free: 8.273 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.Compressor): time 0.02694/0.02697, allocations: 28.73 MB / 0.5003 GB, free: 3.797 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.002871/0.02984, allocations: 2.521 MB / 0.5028 GB, free: 1.375 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000379/0.03022, allocations: 35.69 kB / 0.5028 GB, free: 1.34 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003889/0.03061, allocations: 130.8 kB / 0.5029 GB, free: 1.211 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008793/0.03149, allocations: 452.8 kB / 0.5034 GB, free: 0.7656 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001262/0.03275, allocations: 0.4903 MB / 0.5038 GB, free: 280 kB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001013/0.03377, allocations: 1.038 MB / 0.5049 GB, free: 15.23 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002269/0.03399, allocations: 106.2 kB / 0.505 GB, free: 15.13 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.02323/0.05722, allocations: 12.73 MB / 0.5174 GB, free: 2.293 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008308/0.05805, allocations: 371 kB / 0.5177 GB, free: 1.93 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 8.773e-05/0.05814, allocations: 56 kB / 0.5178 GB, free: 1.875 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00528/0.06342, allocations: 3.53 MB / 0.5212 GB, free: 14.31 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001288/0.06355, allocations: 163.3 kB / 0.5214 GB, free: 14.15 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002295/0.06378, allocations: 235.4 kB / 0.5216 GB, free: 13.92 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001142/0.06492, allocations: 0.8565 MB / 0.5225 GB, free: 13.06 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.06492, allocations: 0 / 0.5225 GB, free: 13.06 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.06492, allocations: 0 / 0.5225 GB, free: 13.06 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.182e-05/0.06494, allocations: 0 / 0.5225 GB, free: 13.06 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.001397/0.06633, allocations: 1.098 MB / 0.5235 GB, free: 11.93 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.06637, allocations: 8.031 kB / 0.5235 GB, free: 11.92 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002338/0.0666, allocations: 140.3 kB / 0.5237 GB, free: 11.78 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005196/0.06712, allocations: 0.4902 MB / 0.5242 GB, free: 11.26 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.663e-05/0.06722, allocations: 152.4 kB / 0.5243 GB, free: 11.09 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.4e-05/0.06728, allocations: 52.27 kB / 0.5244 GB, free: 11.04 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008491/0.06813, allocations: 0.5148 MB / 0.5249 GB, free: 10.48 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.06815, allocations: 3.984 kB / 0.5249 GB, free: 10.48 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.305e-05/0.06818, allocations: 20 kB / 0.5249 GB, free: 10.46 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.571e-05/0.06822, allocations: 21 kB / 0.5249 GB, free: 10.44 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004273/0.06864, allocations: 305.7 kB / 0.5252 GB, free: 10.14 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001976/0.07062, allocations: 1.853 MB / 0.527 GB, free: 8.234 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008139/0.07143, allocations: 0.4941 MB / 0.5275 GB, free: 7.727 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002825/0.07172, allocations: 190.1 kB / 0.5277 GB, free: 7.539 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007251/0.07244, allocations: 328.2 kB / 0.528 GB, free: 7.219 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.07247, allocations: 41.89 kB / 0.528 GB, free: 7.168 MB / 458.7 MB Notification: Performance of pre-optimization done (n=63): time 1.954e-06/0.07247, allocations: 0 / 0.528 GB, free: 7.168 MB / 458.7 MB Notification: Performance of matching and sorting (n=65): time 0.002123/0.0746, allocations: 1.349 MB / 0.5293 GB, free: 5.781 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.081e-05/0.07463, allocations: 60.06 kB / 0.5294 GB, free: 5.711 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002774/0.0749, allocations: 426.7 kB / 0.5298 GB, free: 5.281 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.405e-05/0.07494, allocations: 37.7 kB / 0.5298 GB, free: 5.238 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001412/0.07508, allocations: 300.3 kB / 0.5301 GB, free: 4.938 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001227/0.0752, allocations: 237.9 kB / 0.5303 GB, free: 4.703 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001247/0.07533, allocations: 116 kB / 0.5305 GB, free: 4.582 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.07547, allocations: 0.543 MB / 0.531 GB, free: 4.027 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001893/0.07566, allocations: 113.2 kB / 0.5311 GB, free: 3.918 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002215/0.07588, allocations: 213.2 kB / 0.5313 GB, free: 3.684 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007402/0.07662, allocations: 358.8 kB / 0.5316 GB, free: 3.309 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.07662, allocations: 0 / 0.5316 GB, free: 3.309 MB / 458.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0008167/0.07744, allocations: 0.5978 MB / 0.5322 GB, free: 2.699 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.07746, allocations: 4 kB / 0.5322 GB, free: 2.695 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/0.07747, allocations: 4 kB / 0.5322 GB, free: 2.691 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003035/0.07778, allocations: 103.7 kB / 0.5323 GB, free: 2.586 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002718/0.07805, allocations: 115.8 kB / 0.5324 GB, free: 2.473 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001651/0.0797, allocations: 2.543 MB / 0.5349 GB, free: 15.81 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001631/0.07986, allocations: 19.97 kB / 0.5349 GB, free: 15.79 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.677e-05/0.0799, allocations: 27.98 kB / 0.535 GB, free: 15.77 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.0001533/0.08005, allocations: 184.5 kB / 0.5351 GB, free: 15.57 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001413/0.0802, allocations: 103.5 kB / 0.5352 GB, free: 15.47 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009367/0.08113, allocations: 0.725 MB / 0.536 GB, free: 14.73 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.08114, allocations: 11.94 kB / 0.536 GB, free: 14.72 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.08115, allocations: 4 kB / 0.536 GB, free: 14.71 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.08115, allocations: 3.984 kB / 0.536 GB, free: 14.71 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001398/0.08255, allocations: 1.208 MB / 0.5371 GB, free: 13.45 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.707e-06/0.08256, allocations: 4 kB / 0.5372 GB, free: 13.44 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002466/0.0828, allocations: 95.88 kB / 0.5372 GB, free: 13.35 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002554/0.08306, allocations: 127.5 kB / 0.5374 GB, free: 13.22 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.934e-05/0.0831, allocations: 27.92 kB / 0.5374 GB, free: 13.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001805/0.0849, allocations: 2.534 MB / 0.5399 GB, free: 10.54 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.08491, allocations: 7.938 kB / 0.5399 GB, free: 10.54 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001047/0.08595, allocations: 0.8857 MB / 0.5407 GB, free: 9.617 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001435/0.0861, allocations: 107.5 kB / 0.5408 GB, free: 9.512 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.797e-05/0.08615, allocations: 20 kB / 0.5409 GB, free: 9.492 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001601/0.08631, allocations: 15.98 kB / 0.5409 GB, free: 9.477 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.472e-05/0.08638, allocations: 56.28 kB / 0.5409 GB, free: 9.422 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.008e-05/0.08641, allocations: 23.98 kB / 0.541 GB, free: 9.398 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001899/0.0866, allocations: 302.8 kB / 0.5412 GB, free: 9.102 MB / 474.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0866, allocations: 0 / 0.5412 GB, free: 9.102 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0005668/0.08717, allocations: 247.5 kB / 0.5415 GB, free: 8.859 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.0003825/0.08755, allocations: 246.7 kB / 0.5417 GB, free: 8.605 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.000977/0.08853, allocations: 0.6876 MB / 0.5424 GB, free: 7.879 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.08853, allocations: 320 / 0.5424 GB, free: 7.879 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004861/0.08902, allocations: 0.5358 MB / 0.5429 GB, free: 7.309 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006756/0.08969, allocations: 245.9 kB / 0.5431 GB, free: 7.082 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001995/0.09169, allocations: 1.238 MB / 0.5444 GB, free: 5.797 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001092/0.0918, allocations: 155.7 kB / 0.5445 GB, free: 5.625 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002994/0.0921, allocations: 127.7 kB / 0.5446 GB, free: 5.5 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001253/0.09222, allocations: 68.39 kB / 0.5447 GB, free: 5.434 MB / 474.7 MB Notification: Performance of SimCode: time 1.353e-06/0.09222, allocations: 0 / 0.5447 GB, free: 5.434 MB / 474.7 MB Notification: Performance of Templates: time 0.01568/0.1079, allocations: 13.73 MB / 0.5581 GB, free: 7.992 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.021518094930798]