Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Media.Examples.WaterProperties.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.04603/0.04603, allocations: 9.131 MB / 28.99 MB, free: 328 kB / 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.001242/0.001242, allocations: 102.4 kB / 35.33 MB, free: 0.9219 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.001673/0.001673, allocations: 167.9 kB / 38.73 MB, free: 2.398 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.028/1.028, allocations: 177.2 MB / 219.2 MB, free: 10.09 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.005823/0.005823, allocations: 0.8302 MB / 276.5 MB, free: 0.7109 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.642/1.642, allocations: 274.9 MB / 0.5419 GB, free: 0.6016 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.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Media.Examples.WaterProperties") translateModel(AixLib.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Media.Examples.WaterProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.6379 GB, free: 14.09 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.562e-05/1.704e-05, allocations: 6.25 kB / 0.6379 GB, free: 14.09 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Media.Examples.WaterProperties): time 0.004604/0.004621, allocations: 4.871 MB / 0.6426 GB, free: 9.188 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.002195/0.006816, allocations: 2.854 MB / 0.6454 GB, free: 6.324 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.942e-05/0.006905, allocations: 0 / 0.6454 GB, free: 6.324 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0003293/0.007235, allocations: 47.73 kB / 0.6455 GB, free: 6.277 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.0002438/0.007478, allocations: 111.2 kB / 0.6456 GB, free: 6.168 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007674/0.008246, allocations: 0.5715 MB / 0.6461 GB, free: 5.594 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0002068/0.008453, allocations: 247.8 kB / 0.6464 GB, free: 5.348 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 4.273e-05/0.008495, allocations: 6.469 kB / 0.6464 GB, free: 5.336 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001838/0.008679, allocations: 163.6 kB / 0.6465 GB, free: 5.176 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001133/0.008792, allocations: 75.78 kB / 0.6466 GB, free: 5.102 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 2.103e-05/0.008813, allocations: 8 kB / 0.6466 GB, free: 5.094 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003587/0.009172, allocations: 335.1 kB / 0.6469 GB, free: 4.766 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 6.194e-05/0.009234, allocations: 35.89 kB / 0.647 GB, free: 4.73 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 5.066e-05/0.009285, allocations: 63.83 kB / 0.647 GB, free: 4.668 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0003494/0.009634, allocations: 358.9 kB / 0.6474 GB, free: 4.316 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.514e-06/0.009637, allocations: 0 / 0.6474 GB, free: 4.316 MB / 0.6043 GB Notification: Performance of FrontEnd: time 9.12e-07/0.009638, allocations: 0 / 0.6474 GB, free: 4.316 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.009642, allocations: 4 kB / 0.6474 GB, free: 4.312 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0005507/0.01019, allocations: 419.7 kB / 0.6478 GB, free: 3.875 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.01023, allocations: 15.98 kB / 0.6478 GB, free: 3.859 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001129/0.01034, allocations: 40.78 kB / 0.6478 GB, free: 3.82 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001688/0.01051, allocations: 161.5 kB / 0.648 GB, free: 3.637 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.01052, allocations: 12.7 kB / 0.648 GB, free: 3.625 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.171e-05/0.01055, allocations: 16.38 kB / 0.648 GB, free: 3.609 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002647/0.01081, allocations: 406.7 kB / 0.6484 GB, free: 3.137 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.01082, allocations: 192 / 0.6484 GB, free: 3.137 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.01084, allocations: 16.12 kB / 0.6484 GB, free: 3.121 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.982e-05/0.01087, allocations: 11.98 kB / 0.6484 GB, free: 3.109 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002013/0.01107, allocations: 246.1 kB / 0.6487 GB, free: 2.867 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006057/0.01168, allocations: 0.6817 MB / 0.6493 GB, free: 2.148 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002729/0.01195, allocations: 157 kB / 0.6495 GB, free: 1.984 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.822e-05/0.01199, allocations: 36.83 kB / 0.6495 GB, free: 1.945 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004215/0.01241, allocations: 481.9 kB / 0.65 GB, free: 1.461 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.01243, allocations: 38.56 kB / 0.65 GB, free: 1.414 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=15): time 1.573e-06/0.01243, allocations: 0 / 0.65 GB, free: 1.414 MB / 0.6043 GB Notification: Performance of matching and sorting (n=15): time 0.0001621/0.0126, allocations: 133.6 kB / 0.6501 GB, free: 1.277 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.91e-05/0.01263, allocations: 59.34 kB / 0.6502 GB, free: 1.207 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.289e-05/0.01271, allocations: 162.4 kB / 0.6503 GB, free: 1.035 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.01272, allocations: 29.7 kB / 0.6504 GB, free: 1 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 5.883e-05/0.01278, allocations: 159.9 kB / 0.6505 GB, free: 0.8398 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 2.495e-05/0.01281, allocations: 47.58 kB / 0.6506 GB, free: 0.793 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.419e-05/0.01285, allocations: 49.69 kB / 0.6506 GB, free: 0.7383 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 8.346e-05/0.01294, allocations: 330.7 kB / 0.6509 GB, free: 416 kB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.452e-05/0.01296, allocations: 18.81 kB / 0.6509 GB, free: 396 kB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.828e-05/0.01304, allocations: 133.7 kB / 0.6511 GB, free: 212 kB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001264/0.01317, allocations: 191.5 kB / 0.6513 GB, free: 15.97 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.01317, allocations: 8 kB / 0.6513 GB, free: 15.96 MB / 0.6199 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001401/0.01331, allocations: 156.6 kB / 0.6514 GB, free: 15.8 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.01332, allocations: 7.969 kB / 0.6514 GB, free: 15.79 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.01333, allocations: 8 kB / 0.6514 GB, free: 15.79 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.01334, allocations: 8 kB / 0.6514 GB, free: 15.78 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.01345, allocations: 55.91 kB / 0.6515 GB, free: 15.72 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.01345, allocations: 4 kB / 0.6515 GB, free: 15.72 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.385e-05/0.01351, allocations: 27.78 kB / 0.6515 GB, free: 15.69 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.407e-05/0.01352, allocations: 15.98 kB / 0.6515 GB, free: 15.68 MB / 0.6199 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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): 29 * Array equations: 1 * 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 7.283e-05/0.01359, allocations: 132.5 kB / 0.6517 GB, free: 15.54 MB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.381e-05/0.01362, allocations: 11.98 kB / 0.6517 GB, free: 15.52 MB / 0.6199 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001465/0.01376, allocations: 114.2 kB / 0.6518 GB, free: 15.41 MB / 0.6199 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/0.01377, allocations: 8 kB / 0.6518 GB, free: 15.4 MB / 0.6199 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.01377, allocations: 0 / 0.6518 GB, free: 15.4 MB / 0.6199 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.01378, allocations: 0 / 0.6518 GB, free: 15.4 MB / 0.6199 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001137/0.01389, allocations: 109.8 kB / 0.6519 GB, free: 15.27 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.01389, allocations: 3.938 kB / 0.6519 GB, free: 15.27 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.201e-05/0.01395, allocations: 27.98 kB / 0.6519 GB, free: 15.24 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.01395, allocations: 0 / 0.6519 GB, free: 15.24 MB / 0.6199 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.01395, allocations: 8 kB / 0.6519 GB, free: 15.23 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.01395, allocations: 0 / 0.6519 GB, free: 15.23 MB / 0.6199 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.01396, allocations: 0 / 0.6519 GB, free: 15.23 MB / 0.6199 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001123/0.01407, allocations: 230.2 kB / 0.6522 GB, free: 14.99 MB / 0.6199 GB Notification: Performance of postOpt removeConstants (simulation): time 3.905e-05/0.01411, allocations: 35.75 kB / 0.6522 GB, free: 14.96 MB / 0.6199 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.323e-05/0.01412, allocations: 4 kB / 0.6522 GB, free: 14.95 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.067e-05/0.01419, allocations: 8 kB / 0.6522 GB, free: 14.95 MB / 0.6199 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.728e-05/0.01421, allocations: 11.97 kB / 0.6522 GB, free: 14.93 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.229e-05/0.01422, allocations: 8 kB / 0.6522 GB, free: 14.93 MB / 0.6199 GB Notification: Performance of sorting global known variables: time 2.47e-05/0.01425, allocations: 28.83 kB / 0.6522 GB, free: 14.89 MB / 0.6199 GB Notification: Performance of sort global known variables: time 6e-08/0.01425, allocations: 3.938 kB / 0.6523 GB, free: 14.89 MB / 0.6199 GB Notification: Performance of remove unused functions: time 0.0002065/0.01445, allocations: 83.86 kB / 0.6523 GB, free: 14.81 MB / 0.6199 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0002165/0.01467, allocations: 168.1 kB / 0.6525 GB, free: 14.64 MB / 0.6199 GB Notification: Performance of simCode: created initialization part: time 0.00012/0.01479, allocations: 92.61 kB / 0.6526 GB, free: 14.54 MB / 0.6199 GB Notification: Performance of simCode: created event and clocks part: time 7.724e-06/0.0148, allocations: 4 kB / 0.6526 GB, free: 14.54 MB / 0.6199 GB Notification: Performance of simCode: created simulation system equations: time 2.89e-05/0.01482, allocations: 37.48 kB / 0.6526 GB, free: 14.5 MB / 0.6199 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001866/0.01501, allocations: 49.11 kB / 0.6527 GB, free: 14.45 MB / 0.6199 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006087/0.01562, allocations: 338.9 kB / 0.653 GB, free: 14.09 MB / 0.6199 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.857e-05/0.01566, allocations: 68 kB / 0.6531 GB, free: 14.01 MB / 0.6199 GB Notification: Performance of simCode: alias equations: time 8.267e-05/0.01574, allocations: 37.47 kB / 0.6531 GB, free: 13.97 MB / 0.6199 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001414/0.01588, allocations: 117.3 kB / 0.6532 GB, free: 13.86 MB / 0.6199 GB Notification: Performance of SimCode: time 3.7e-07/0.01588, allocations: 0 / 0.6532 GB, free: 13.86 MB / 0.6199 GB Notification: Performance of Templates: time 0.004725/0.02061, allocations: 3.44 MB / 0.6566 GB, free: 10.41 MB / 0.6199 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Media.Examples.WaterProperties.makefile [Timeout 660] (rm -f AixLib_AixLib.Media.Examples.WaterProperties.pipe ; mkfifo AixLib_AixLib.Media.Examples.WaterProperties.pipe ; head -c 1048576 < AixLib_AixLib.Media.Examples.WaterProperties.pipe >> ../files/AixLib_AixLib.Media.Examples.WaterProperties.sim & ./AixLib_AixLib.Media.Examples.WaterProperties -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.489240661729127]