Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.Psychrometrics.Examples.SublimationPressureIce.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.04268/0.04268, allocations: 9.129 MB / 28.99 MB, free: 0.8203 MB / 18.57 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.0008219/0.0008219, allocations: 95.2 kB / 35.33 MB, free: 1.074 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.0008981/0.0008981, allocations: 168.4 kB / 38.73 MB, free: 2.508 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 0.9236/0.9236, 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.004111/0.004111, allocations: 0.8222 MB / 276.5 MB, free: 0.7461 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.674/1.674, allocations: 274.9 MB / 0.5419 GB, free: 0.6133 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.Utilities.Psychrometrics.Examples.SublimationPressureIce,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Psychrometrics.Examples.SublimationPressureIce") translateModel(AixLib.Utilities.Psychrometrics.Examples.SublimationPressureIce,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Psychrometrics.Examples.SublimationPressureIce") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 0.6379 GB, free: 14.1 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.154e-05/1.274e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.09 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.001784/0.001797, allocations: 1.542 MB / 0.6394 GB, free: 12.54 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.000414/0.002211, allocations: 283 kB / 0.6396 GB, free: 12.26 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.041e-05/0.002232, allocations: 0 / 0.6396 GB, free: 12.26 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.206e-05/0.002254, allocations: 0 / 0.6396 GB, free: 12.26 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 4.824e-05/0.002302, allocations: 7.875 kB / 0.6397 GB, free: 12.25 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002004/0.002502, allocations: 59.75 kB / 0.6397 GB, free: 12.2 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 4.796e-05/0.00255, allocations: 27.86 kB / 0.6397 GB, free: 12.17 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 5.792e-05/0.002608, allocations: 7.984 kB / 0.6397 GB, free: 12.16 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 4.603e-05/0.002654, allocations: 11.98 kB / 0.6398 GB, free: 12.15 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 3.931e-05/0.002693, allocations: 11.98 kB / 0.6398 GB, free: 12.14 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 9.358e-06/0.002703, allocations: 3.938 kB / 0.6398 GB, free: 12.13 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000131/0.002834, allocations: 79.86 kB / 0.6398 GB, free: 12.05 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.236e-05/0.002846, allocations: 4 kB / 0.6399 GB, free: 12.05 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.503e-05/0.002861, allocations: 11.92 kB / 0.6399 GB, free: 12.04 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001095/0.002971, allocations: 67.8 kB / 0.6399 GB, free: 11.97 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.473e-06/0.002972, allocations: 0 / 0.6399 GB, free: 11.97 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.443e-06/0.002974, allocations: 4 kB / 0.6399 GB, free: 11.97 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 2.996e-06/0.002977, allocations: 0 / 0.6399 GB, free: 11.97 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002262/0.003203, allocations: 240.5 kB / 0.6402 GB, free: 11.71 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 2.794e-05/0.003231, allocations: 19.97 kB / 0.6402 GB, free: 11.69 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.007e-05/0.003251, allocations: 0.9375 kB / 0.6402 GB, free: 11.69 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.163e-05/0.003312, allocations: 110.1 kB / 0.6403 GB, free: 11.56 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.971e-06/0.003318, allocations: 384 / 0.6403 GB, free: 11.56 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.889e-06/0.003323, allocations: 384 / 0.6403 GB, free: 11.56 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.284e-05/0.003396, allocations: 50.95 kB / 0.6403 GB, free: 11.5 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.633e-06/0.003403, allocations: 11.92 kB / 0.6403 GB, free: 11.49 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.999e-06/0.003408, allocations: 0 / 0.6403 GB, free: 11.49 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.003413, allocations: 4 kB / 0.6404 GB, free: 11.48 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.752e-05/0.003431, allocations: 7.922 kB / 0.6404 GB, free: 11.48 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001586/0.003589, allocations: 152.3 kB / 0.6405 GB, free: 11.31 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 2.971e-05/0.003619, allocations: 22.58 kB / 0.6405 GB, free: 11.28 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.153e-05/0.00363, allocations: 4.859 kB / 0.6405 GB, free: 11.27 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 9.298e-06/0.00364, allocations: 0 / 0.6405 GB, free: 11.27 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.79e-05/0.003658, allocations: 38.56 kB / 0.6406 GB, free: 11.23 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=2): time 6.21e-07/0.003658, allocations: 4 kB / 0.6406 GB, free: 11.22 MB / 0.6043 GB Notification: Performance of matching and sorting (n=2): time 8.051e-05/0.003739, allocations: 45.62 kB / 0.6406 GB, free: 11.17 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.118e-05/0.00376, allocations: 51.41 kB / 0.6407 GB, free: 11.11 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.128e-05/0.003801, allocations: 98.72 kB / 0.6408 GB, free: 11 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 7.344e-06/0.003809, allocations: 25.7 kB / 0.6408 GB, free: 10.97 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 2.233e-05/0.003831, allocations: 84.12 kB / 0.6409 GB, free: 10.88 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.307e-05/0.003844, allocations: 11.94 kB / 0.6409 GB, free: 10.87 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.979e-05/0.003864, allocations: 9.719 kB / 0.6409 GB, free: 10.86 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 6.122e-05/0.003925, allocations: 314.8 kB / 0.6412 GB, free: 10.54 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.893e-06/0.003932, allocations: 0 / 0.6412 GB, free: 10.54 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.766e-06/0.003941, allocations: 8.125 kB / 0.6412 GB, free: 10.53 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.13e-05/0.003962, allocations: 20.78 kB / 0.6412 GB, free: 10.51 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.003963, allocations: 0 / 0.6412 GB, free: 10.51 MB / 0.6043 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.359e-05/0.003997, allocations: 29.7 kB / 0.6412 GB, free: 10.47 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.004008, allocations: 15.84 kB / 0.6413 GB, free: 10.46 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.056e-06/0.004011, allocations: 0 / 0.6413 GB, free: 10.46 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.166e-06/0.004019, allocations: 0 / 0.6413 GB, free: 10.46 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.391e-05/0.004063, allocations: 7.984 kB / 0.6413 GB, free: 10.45 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.713e-06/0.004065, allocations: 0 / 0.6413 GB, free: 10.45 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.464e-05/0.004079, allocations: 4.094 kB / 0.6413 GB, free: 10.45 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.427e-06/0.004083, allocations: 4 kB / 0.6413 GB, free: 10.44 MB / 0.6043 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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 4.054e-05/0.004123, allocations: 105.8 kB / 0.6414 GB, free: 10.33 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.417e-05/0.004138, allocations: 7.938 kB / 0.6414 GB, free: 10.32 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.17e-05/0.004189, allocations: 44.94 kB / 0.6414 GB, free: 10.27 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.004191, allocations: 0 / 0.6414 GB, free: 10.27 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/0.004193, allocations: 7.984 kB / 0.6414 GB, free: 10.27 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.004195, allocations: 0 / 0.6414 GB, free: 10.27 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.827e-05/0.004263, allocations: 73.83 kB / 0.6415 GB, free: 10.18 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-07/0.004263, allocations: 0 / 0.6415 GB, free: 10.18 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.81e-05/0.004282, allocations: 12.02 kB / 0.6415 GB, free: 10.16 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.41e-07/0.004282, allocations: 0 / 0.6415 GB, free: 10.16 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.086e-06/0.004285, allocations: 3.938 kB / 0.6415 GB, free: 10.16 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.004287, allocations: 3.938 kB / 0.6415 GB, free: 10.16 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.004288, allocations: 4 kB / 0.6415 GB, free: 10.15 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.911e-05/0.004347, allocations: 131.5 kB / 0.6416 GB, free: 10.01 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 5.601e-06/0.004352, allocations: 3.953 kB / 0.6417 GB, free: 10 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.131e-06/0.004358, allocations: 0 / 0.6417 GB, free: 10 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.996e-05/0.004388, allocations: 7.938 kB / 0.6417 GB, free: 9.996 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.052e-05/0.004409, allocations: 4 kB / 0.6417 GB, free: 9.992 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.004412, allocations: 8.016 kB / 0.6417 GB, free: 9.984 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 8.315e-06/0.00442, allocations: 9.047 kB / 0.6417 GB, free: 9.973 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.00442, allocations: 0 / 0.6417 GB, free: 9.973 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001252/0.004545, allocations: 12 kB / 0.6417 GB, free: 9.961 MB / 0.6043 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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 9.395e-05/0.004639, allocations: 92.47 kB / 0.6418 GB, free: 9.863 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 4.21e-05/0.004681, allocations: 8.859 kB / 0.6418 GB, free: 9.852 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.004683, allocations: 4 kB / 0.6418 GB, free: 9.848 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 1.433e-05/0.004697, allocations: 8.797 kB / 0.6418 GB, free: 9.836 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001055/0.004803, allocations: 8.125 kB / 0.6418 GB, free: 9.828 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002976/0.0051, allocations: 128.5 kB / 0.6419 GB, free: 9.676 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.433e-05/0.005125, allocations: 51.36 kB / 0.642 GB, free: 9.605 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 1.312e-05/0.005138, allocations: 0 / 0.642 GB, free: 9.605 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.298e-05/0.005171, allocations: 51.38 kB / 0.642 GB, free: 9.555 MB / 0.6043 GB Notification: Performance of SimCode: time 4.61e-07/0.005171, allocations: 0 / 0.642 GB, free: 9.555 MB / 0.6043 GB Notification: Performance of Templates: time 0.002018/0.007189, allocations: 0.6474 MB / 0.6427 GB, free: 8.91 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Utilities.Psychrometrics.Examples.SublimationPressureIce.makefile [Timeout 660] (rm -f AixLib_AixLib.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; mkfifo AixLib_AixLib.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe >> ../files/AixLib_AixLib.Utilities.Psychrometrics.Examples.SublimationPressureIce.sim & ./AixLib_AixLib.Utilities.Psychrometrics.Examples.SublimationPressureIce -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.407953633926809]