Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.04345/0.04345, allocations: 9.133 MB / 28.99 MB, free: 6.105 MB / 24.77 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] 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.0009367/0.0009367, allocations: 90.66 kB / 35.33 MB, free: 0.7695 MB / 24.77 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.001259/0.001259, allocations: 166.8 kB / 38.73 MB, free: 2.121 MB / 24.77 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.068/1.068, allocations: 177.2 MB / 219.2 MB, free: 10.11 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo): time 0.004075/0.004075, allocations: 0.8144 MB / 276.5 MB, free: 0.75 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo): time 1.735/1.735, allocations: 274.9 MB / 0.5419 GB, free: 0.625 MB / 0.4949 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo) Using package SDF with version 0.4.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/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) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo) Running command: translateModel(AixLib.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid") translateModel(AixLib.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 0.6379 GB, free: 14.14 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.258e-05/3.448e-05, allocations: 6.25 kB / 0.6379 GB, free: 14.13 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.004042/0.004076, allocations: 2.069 MB / 0.6399 GB, free: 12.05 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.002734/0.00681, allocations: 1.39 MB / 0.6412 GB, free: 10.65 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001374/0.006948, allocations: 0 / 0.6412 GB, free: 10.65 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0008751/0.007823, allocations: 250.9 kB / 0.6415 GB, free: 10.4 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.001447/0.00927, allocations: 450.3 kB / 0.6419 GB, free: 9.961 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 8.706e-06/0.009279, allocations: 0 / 0.6419 GB, free: 9.961 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0005169/0.009796, allocations: 406.3 kB / 0.6423 GB, free: 9.562 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003092/0.01289, allocations: 14.56 kB / 0.6423 GB, free: 9.547 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004305/0.01332, allocations: 187.4 kB / 0.6425 GB, free: 9.363 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000355/0.01367, allocations: 179.3 kB / 0.6427 GB, free: 9.188 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 6.119e-05/0.01373, allocations: 24 kB / 0.6427 GB, free: 9.164 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000731/0.01447, allocations: 283.5 kB / 0.643 GB, free: 8.887 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 0.000348/0.01481, allocations: 387.1 kB / 0.6433 GB, free: 8.508 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 0.0003266/0.01514, allocations: 195.5 kB / 0.6435 GB, free: 8.316 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.004169/0.01931, allocations: 0.6383 MB / 0.6441 GB, free: 7.676 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.01932, allocations: 0 / 0.6441 GB, free: 7.676 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.733e-06/0.01932, allocations: 0 / 0.6441 GB, free: 7.676 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 1.624e-05/0.01933, allocations: 0 / 0.6441 GB, free: 7.676 MB / 0.6043 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.001226/0.02056, allocations: 0.8431 MB / 0.645 GB, free: 6.805 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.0206, allocations: 11.98 kB / 0.645 GB, free: 6.793 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004249/0.02103, allocations: 104.8 kB / 0.6451 GB, free: 6.691 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005773/0.0216, allocations: 489.1 kB / 0.6455 GB, free: 6.188 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.307e-05/0.02163, allocations: 8.375 kB / 0.6455 GB, free: 6.18 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.749e-05/0.02166, allocations: 16.38 kB / 0.6456 GB, free: 6.164 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003351/0.02501, allocations: 161.5 kB / 0.6457 GB, free: 5.996 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.02502, allocations: 192 / 0.6457 GB, free: 5.996 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/0.02503, allocations: 8.375 kB / 0.6457 GB, free: 5.988 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.02504, allocations: 11.94 kB / 0.6457 GB, free: 5.977 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001534/0.0252, allocations: 99.77 kB / 0.6458 GB, free: 5.879 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/0.02623, allocations: 0.6547 MB / 0.6465 GB, free: 5.207 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000285/0.02651, allocations: 150.4 kB / 0.6466 GB, free: 5.051 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.382e-05/0.02658, allocations: 44.77 kB / 0.6467 GB, free: 5.004 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 4.309e-05/0.02663, allocations: 23.98 kB / 0.6467 GB, free: 4.98 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.02666, allocations: 42.56 kB / 0.6467 GB, free: 4.93 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=19): time 2.144e-06/0.02666, allocations: 0 / 0.6467 GB, free: 4.93 MB / 0.6043 GB Notification: Performance of matching and sorting (n=19): time 0.0003063/0.02697, allocations: 145.3 kB / 0.6469 GB, free: 4.785 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.568e-05/0.027, allocations: 55.41 kB / 0.6469 GB, free: 4.719 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000779/0.02778, allocations: 0.8726 MB / 0.6478 GB, free: 3.832 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/0.0278, allocations: 29.7 kB / 0.6478 GB, free: 3.797 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/0.02793, allocations: 206 kB / 0.648 GB, free: 3.59 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 4.64e-05/0.02798, allocations: 79.28 kB / 0.6481 GB, free: 3.512 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.712e-05/0.02807, allocations: 53.62 kB / 0.6481 GB, free: 3.453 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 8.128e-05/0.02815, allocations: 314 kB / 0.6484 GB, free: 3.141 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001078/0.02826, allocations: 58.81 kB / 0.6485 GB, free: 3.082 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/0.02837, allocations: 77.67 kB / 0.6485 GB, free: 3 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002096/0.02858, allocations: 135.3 kB / 0.6487 GB, free: 2.855 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.02858, allocations: 0 / 0.6487 GB, free: 2.855 MB / 0.6043 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003463/0.02893, allocations: 211.7 kB / 0.6489 GB, free: 2.641 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.02895, allocations: 8 kB / 0.6489 GB, free: 2.633 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.02895, allocations: 3.984 kB / 0.6489 GB, free: 2.629 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.02897, allocations: 0 / 0.6489 GB, free: 2.629 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002198/0.02919, allocations: 63.92 kB / 0.6489 GB, free: 2.566 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.02919, allocations: 0 / 0.6489 GB, free: 2.566 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001915/0.02939, allocations: 27.83 kB / 0.649 GB, free: 2.539 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.922e-05/0.0294, allocations: 11.98 kB / 0.649 GB, free: 2.527 MB / 0.6043 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001268/0.02953, allocations: 120.6 kB / 0.6491 GB, free: 2.398 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.412e-05/0.02961, allocations: 39.95 kB / 0.6491 GB, free: 2.359 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002899/0.0299, allocations: 183.8 kB / 0.6493 GB, free: 2.172 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.0299, allocations: 4 kB / 0.6493 GB, free: 2.168 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.0299, allocations: 0 / 0.6493 GB, free: 2.168 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.02991, allocations: 3.938 kB / 0.6493 GB, free: 2.164 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001064/0.03097, allocations: 0.8781 MB / 0.6502 GB, free: 1.18 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.03098, allocations: 4 kB / 0.6502 GB, free: 1.176 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001823/0.03116, allocations: 47.91 kB / 0.6502 GB, free: 1.129 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.775e-06/0.03117, allocations: 8 kB / 0.6502 GB, free: 1.121 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.679e-05/0.03118, allocations: 7.984 kB / 0.6502 GB, free: 1.113 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.586e-06/0.03119, allocations: 11.94 kB / 0.6502 GB, free: 1.102 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.0312, allocations: 4 kB / 0.6503 GB, free: 1.098 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003519/0.03155, allocations: 329.2 kB / 0.6506 GB, free: 0.6797 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/0.03166, allocations: 79.48 kB / 0.6506 GB, free: 0.6016 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.621e-05/0.03172, allocations: 4 kB / 0.6506 GB, free: 0.5977 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001994/0.03192, allocations: 19.98 kB / 0.6507 GB, free: 0.5781 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.78e-05/0.03196, allocations: 27.84 kB / 0.6507 GB, free: 0.5508 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.452e-05/0.03197, allocations: 8 kB / 0.6507 GB, free: 0.543 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 0.000534/0.03251, allocations: 0.5188 MB / 0.6512 GB, free: 24 kB / 0.6043 GB Notification: Performance of sort global known variables: time 1.9e-07/0.03251, allocations: 0 / 0.6512 GB, free: 24 kB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0004957/0.033, allocations: 171.9 kB / 0.6514 GB, free: 15.85 MB / 0.6199 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 simulation (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002758/0.03328, allocations: 164.1 kB / 0.6515 GB, free: 15.68 MB / 0.6199 GB Notification: Performance of simCode: created initialization part: time 0.006289/0.03957, allocations: 144.5 kB / 0.6517 GB, free: 15.54 MB / 0.6199 GB Notification: Performance of simCode: created event and clocks part: time 1.59e-05/0.03958, allocations: 8 kB / 0.6517 GB, free: 15.53 MB / 0.6199 GB Notification: Performance of simCode: created simulation system equations: time 8.876e-05/0.03967, allocations: 61.28 kB / 0.6517 GB, free: 15.47 MB / 0.6199 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006192/0.04029, allocations: 188.3 kB / 0.6519 GB, free: 15.29 MB / 0.6199 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00205/0.04234, allocations: 1.319 MB / 0.6532 GB, free: 13.87 MB / 0.6199 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0062/0.04854, allocations: 213.4 kB / 0.6534 GB, free: 13.64 MB / 0.6199 GB Notification: Performance of simCode: alias equations: time 0.000232/0.04877, allocations: 76.38 kB / 0.6535 GB, free: 13.57 MB / 0.6199 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003447/0.04912, allocations: 189.2 kB / 0.6537 GB, free: 13.38 MB / 0.6199 GB Notification: Performance of SimCode: time 1.984e-06/0.04912, allocations: 0 / 0.6537 GB, free: 13.38 MB / 0.6199 GB Notification: Performance of Templates: time 0.04965/0.09877, allocations: 11.59 MB / 0.665 GB, free: 1.777 MB / 0.6199 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.makefile [Timeout 660] (rm -f AixLib_AixLib.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; mkfifo AixLib_AixLib.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe >> ../files/AixLib_AixLib.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.sim & ./AixLib_AixLib.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.8515845742076635]