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.05198/0.05198, allocations: 9.13 MB / 28.99 MB, free: 324 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.001054/0.001054, allocations: 95.27 kB / 35.33 MB, free: 0.918 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.001382/0.001382, allocations: 163.9 kB / 38.73 MB, free: 2.395 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.02/1.02, allocations: 177.2 MB / 219.2 MB, free: 10.12 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.004392/0.004392, allocations: 0.8259 MB / 276.5 MB, free: 0.7383 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.751/1.751, allocations: 274.9 MB / 0.5419 GB, free: 0.6211 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.583e-06/1.583e-06, allocations: 0 / 0.6379 GB, free: 14.07 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.893e-05/3.051e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.07 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Media.Examples.WaterProperties): time 0.008079/0.008109, allocations: 4.921 MB / 0.6427 GB, free: 9.121 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.002401/0.01051, allocations: 2.858 MB / 0.6455 GB, free: 6.254 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.873e-05/0.01061, allocations: 3.938 kB / 0.6455 GB, free: 6.25 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0002785/0.01089, allocations: 39.77 kB / 0.6455 GB, free: 6.211 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.0002205/0.01111, allocations: 107.2 kB / 0.6456 GB, free: 6.105 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008449/0.01195, allocations: 0.556 MB / 0.6462 GB, free: 5.547 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0002165/0.01217, allocations: 255.8 kB / 0.6464 GB, free: 5.293 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 4.711e-05/0.01222, allocations: 10.45 kB / 0.6464 GB, free: 5.277 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002049/0.01242, allocations: 159.6 kB / 0.6466 GB, free: 5.121 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001199/0.01254, allocations: 75.78 kB / 0.6467 GB, free: 5.047 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 2.238e-05/0.01256, allocations: 8 kB / 0.6467 GB, free: 5.039 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004471/0.01301, allocations: 343.1 kB / 0.647 GB, free: 4.703 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 6.828e-05/0.01308, allocations: 39.88 kB / 0.647 GB, free: 4.664 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 5.458e-05/0.01313, allocations: 63.83 kB / 0.6471 GB, free: 4.602 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0005454/0.01368, allocations: 358.9 kB / 0.6474 GB, free: 4.25 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.01368, allocations: 4 kB / 0.6474 GB, free: 4.246 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.613e-06/0.01369, allocations: 0 / 0.6474 GB, free: 4.246 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 4.618e-06/0.01369, allocations: 3.938 kB / 0.6475 GB, free: 4.242 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.000555/0.01425, allocations: 427.7 kB / 0.6479 GB, free: 3.797 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.01428, allocations: 11.98 kB / 0.6479 GB, free: 3.785 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001316/0.01441, allocations: 40.8 kB / 0.6479 GB, free: 3.746 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001547/0.01457, allocations: 149.5 kB / 0.6481 GB, free: 3.574 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.01458, allocations: 12.7 kB / 0.6481 GB, free: 3.562 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.016e-05/0.0146, allocations: 20.38 kB / 0.6481 GB, free: 3.543 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002505/0.01485, allocations: 410.8 kB / 0.6485 GB, free: 3.066 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.01486, allocations: 4.125 kB / 0.6485 GB, free: 3.062 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.765e-05/0.01488, allocations: 20.06 kB / 0.6485 GB, free: 3.043 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.893e-05/0.01491, allocations: 4 kB / 0.6485 GB, free: 3.039 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002097/0.01512, allocations: 250.1 kB / 0.6487 GB, free: 2.789 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006163/0.01574, allocations: 0.6778 MB / 0.6494 GB, free: 2.078 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001659/0.0159, allocations: 153.1 kB / 0.6495 GB, free: 1.918 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.198e-05/0.01595, allocations: 44.83 kB / 0.6496 GB, free: 1.871 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004431/0.01639, allocations: 473.9 kB / 0.65 GB, free: 1.395 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/0.01641, allocations: 38.5 kB / 0.6501 GB, free: 1.348 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=15): time 1.122e-06/0.01641, allocations: 0 / 0.6501 GB, free: 1.348 MB / 0.6043 GB Notification: Performance of matching and sorting (n=15): time 0.0001669/0.01658, allocations: 133.5 kB / 0.6502 GB, free: 1.211 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.633e-05/0.01661, allocations: 59.41 kB / 0.6503 GB, free: 1.141 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.035e-05/0.0167, allocations: 162.4 kB / 0.6504 GB, free: 0.9688 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.01671, allocations: 25.7 kB / 0.6504 GB, free: 0.9375 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 5.785e-05/0.01677, allocations: 152 kB / 0.6506 GB, free: 0.7852 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 2.436e-05/0.01679, allocations: 55.58 kB / 0.6506 GB, free: 0.7305 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.615e-05/0.01684, allocations: 49.67 kB / 0.6507 GB, free: 0.6758 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 7.947e-05/0.01692, allocations: 326.8 kB / 0.651 GB, free: 356 kB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.807e-05/0.01695, allocations: 26.81 kB / 0.651 GB, free: 328 kB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.506e-05/0.01702, allocations: 146.1 kB / 0.6512 GB, free: 132 kB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001304/0.01715, allocations: 175.1 kB / 0.6513 GB, free: 15.91 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.01715, allocations: 0 / 0.6513 GB, free: 15.91 MB / 0.6199 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001635/0.01732, allocations: 168.1 kB / 0.6515 GB, free: 15.73 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.01733, allocations: 8 kB / 0.6515 GB, free: 15.73 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.453e-06/0.01734, allocations: 4 kB / 0.6515 GB, free: 15.72 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.01735, allocations: 4 kB / 0.6515 GB, free: 15.72 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001479/0.0175, allocations: 60.38 kB / 0.6516 GB, free: 15.66 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.01751, allocations: 11.94 kB / 0.6516 GB, free: 15.65 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.533e-05/0.01756, allocations: 27.78 kB / 0.6516 GB, free: 15.62 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.335e-05/0.01757, allocations: 16 kB / 0.6516 GB, free: 15.61 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 7e-05/0.01764, allocations: 128.5 kB / 0.6517 GB, free: 15.47 MB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.885e-05/0.01767, allocations: 23.95 kB / 0.6518 GB, free: 15.45 MB / 0.6199 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001561/0.01783, allocations: 114.2 kB / 0.6519 GB, free: 15.33 MB / 0.6199 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.277e-06/0.01784, allocations: 7.984 kB / 0.6519 GB, free: 15.32 MB / 0.6199 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/0.01784, allocations: 0 / 0.6519 GB, free: 15.32 MB / 0.6199 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.01784, allocations: 4 kB / 0.6519 GB, free: 15.32 MB / 0.6199 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000123/0.01797, allocations: 101.8 kB / 0.652 GB, free: 15.2 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.01797, allocations: 7.938 kB / 0.652 GB, free: 15.19 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.32e-05/0.01804, allocations: 35.91 kB / 0.652 GB, free: 15.16 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.01805, allocations: 0 / 0.652 GB, free: 15.16 MB / 0.6199 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.737e-06/0.01805, allocations: 8 kB / 0.652 GB, free: 15.15 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.01806, allocations: 0 / 0.652 GB, free: 15.15 MB / 0.6199 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.01806, allocations: 0 / 0.652 GB, free: 15.15 MB / 0.6199 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001307/0.01819, allocations: 230.1 kB / 0.6523 GB, free: 14.91 MB / 0.6199 GB Notification: Performance of postOpt removeConstants (simulation): time 4.241e-05/0.01823, allocations: 39.75 kB / 0.6523 GB, free: 14.87 MB / 0.6199 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.257e-05/0.01824, allocations: 0 / 0.6523 GB, free: 14.87 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.918e-05/0.01832, allocations: 12 kB / 0.6523 GB, free: 14.86 MB / 0.6199 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.962e-05/0.01834, allocations: 11.97 kB / 0.6523 GB, free: 14.84 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.01835, allocations: 8 kB / 0.6523 GB, free: 14.84 MB / 0.6199 GB Notification: Performance of sorting global known variables: time 2.628e-05/0.01838, allocations: 32.81 kB / 0.6524 GB, free: 14.8 MB / 0.6199 GB Notification: Performance of sort global known variables: time 6e-08/0.01838, allocations: 0 / 0.6524 GB, free: 14.8 MB / 0.6199 GB Notification: Performance of remove unused functions: time 0.0002285/0.01861, allocations: 79.88 kB / 0.6524 GB, free: 14.72 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.0002308/0.01884, allocations: 156.2 kB / 0.6526 GB, free: 14.56 MB / 0.6199 GB Notification: Performance of simCode: created initialization part: time 0.0001287/0.01897, allocations: 105.7 kB / 0.6527 GB, free: 14.46 MB / 0.6199 GB Notification: Performance of simCode: created event and clocks part: time 7.104e-06/0.01898, allocations: 4 kB / 0.6527 GB, free: 14.45 MB / 0.6199 GB Notification: Performance of simCode: created simulation system equations: time 2.78e-05/0.019, allocations: 32.78 kB / 0.6527 GB, free: 14.42 MB / 0.6199 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002068/0.01921, allocations: 47.91 kB / 0.6528 GB, free: 14.37 MB / 0.6199 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006357/0.01985, allocations: 331.1 kB / 0.6531 GB, free: 14.02 MB / 0.6199 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.906e-05/0.01989, allocations: 71.98 kB / 0.6531 GB, free: 13.93 MB / 0.6199 GB Notification: Performance of simCode: alias equations: time 9.291e-05/0.01998, allocations: 49.39 kB / 0.6532 GB, free: 13.88 MB / 0.6199 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001608/0.02014, allocations: 125.3 kB / 0.6533 GB, free: 13.76 MB / 0.6199 GB Notification: Performance of SimCode: time 8.12e-07/0.02014, allocations: 0 / 0.6533 GB, free: 13.76 MB / 0.6199 GB Notification: Performance of Templates: time 0.005131/0.02527, allocations: 3.426 MB / 0.6567 GB, free: 10.32 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.88169367890805]