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.04777/0.04777, allocations: 9.138 MB / 19.04 MB, free: 0.6602 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.008339/0.05611, allocations: 3.421 MB / 22.46 MB, free: 3.73 MB / 24.77 MB " [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.0007285/0.0007285, allocations: 86.77 kB / 23.3 MB, free: 2.902 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001615/0.002344, allocations: 449.8 kB / 23.74 MB, free: 2.465 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.000684/0.000684, allocations: 152.8 kB / 24.65 MB, free: 1.562 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008914/0.001575, allocations: 478.6 kB / 25.11 MB, free: 1.094 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.039/1.039, allocations: 177.2 MB / 203.1 MB, free: 8.258 MB / 202.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1834/1.222, allocations: 53.67 MB / 256.7 MB, free: 5.293 MB / 250.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.003574/0.003574, allocations: 0.8253 MB / 258.3 MB, free: 3.832 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001052/0.004626, allocations: 0.6585 MB / 259 MB, free: 3.172 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.67/1.67, allocations: 275 MB / 0.5222 GB, free: 1.035 MB / 0.4949 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1528/1.822, allocations: 78.91 MB / 0.5993 GB, free: 2.133 MB / 0.573 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.783e-06/1.783e-06, allocations: 0 / 0.6006 GB, free: 0.7695 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.281e-05/2.46e-05, allocations: 2.312 kB / 0.6006 GB, free: 0.7656 MB / 0.573 GB Notification: Performance of NFInst.instantiate(AixLib.Media.Examples.WaterProperties): time 0.007101/0.007126, allocations: 4.927 MB / 0.6054 GB, free: 11.81 MB / 0.5887 GB Notification: Performance of NFInst.instExpressions: time 0.003009/0.01014, allocations: 2.862 MB / 0.6082 GB, free: 8.938 MB / 0.5887 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.693e-05/0.01023, allocations: 0 / 0.6082 GB, free: 8.938 MB / 0.5887 GB Notification: Performance of NFTyping.typeComponents: time 0.0002166/0.01045, allocations: 43.69 kB / 0.6083 GB, free: 8.895 MB / 0.5887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002685/0.01072, allocations: 103.3 kB / 0.6084 GB, free: 8.793 MB / 0.5887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001546/0.01226, allocations: 0.5676 MB / 0.6089 GB, free: 8.223 MB / 0.5887 GB Notification: Performance of NFFlatten.flatten: time 0.0002584/0.01252, allocations: 251.8 kB / 0.6091 GB, free: 7.977 MB / 0.5887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.259e-05/0.01256, allocations: 6.469 kB / 0.6092 GB, free: 7.969 MB / 0.5887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002066/0.01277, allocations: 171.5 kB / 0.6093 GB, free: 7.801 MB / 0.5887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/0.01288, allocations: 75.77 kB / 0.6094 GB, free: 7.727 MB / 0.5887 GB Notification: Performance of NFPackage.collectConstants: time 2.176e-05/0.0129, allocations: 8 kB / 0.6094 GB, free: 7.719 MB / 0.5887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005029/0.01341, allocations: 339.2 kB / 0.6097 GB, free: 7.387 MB / 0.5887 GB Notification: Performance of NFScalarize.scalarize: time 6.39e-05/0.01347, allocations: 31.88 kB / 0.6098 GB, free: 7.355 MB / 0.5887 GB Notification: Performance of NFVerifyModel.verify: time 4.832e-05/0.01352, allocations: 51.94 kB / 0.6098 GB, free: 7.305 MB / 0.5887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003806/0.0139, allocations: 319 kB / 0.6101 GB, free: 6.992 MB / 0.5887 GB Notification: Performance of FrontEnd - DAE generated: time 1.22e-05/0.01391, allocations: 3.938 kB / 0.6101 GB, free: 6.988 MB / 0.5887 GB Notification: Performance of FrontEnd: time 1.052e-06/0.01391, allocations: 0 / 0.6101 GB, free: 6.988 MB / 0.5887 GB Notification: Performance of Transformations before backend: time 9.968e-06/0.01392, allocations: 0 / 0.6101 GB, free: 6.988 MB / 0.5887 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.0006184/0.01454, allocations: 0.5399 MB / 0.6106 GB, free: 6.402 MB / 0.5887 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.01458, allocations: 8.031 kB / 0.6106 GB, free: 6.395 MB / 0.5887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001287/0.01471, allocations: 44.78 kB / 0.6107 GB, free: 6.352 MB / 0.5887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/0.01486, allocations: 149.5 kB / 0.6108 GB, free: 6.18 MB / 0.5887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.01487, allocations: 20.7 kB / 0.6108 GB, free: 6.16 MB / 0.5887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.168e-05/0.01489, allocations: 20.38 kB / 0.6109 GB, free: 6.141 MB / 0.5887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002567/0.01515, allocations: 414.7 kB / 0.6113 GB, free: 5.66 MB / 0.5887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.01516, allocations: 192 / 0.6113 GB, free: 5.66 MB / 0.5887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.734e-05/0.01518, allocations: 16.12 kB / 0.6113 GB, free: 5.645 MB / 0.5887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.901e-05/0.0152, allocations: 4 kB / 0.6113 GB, free: 5.641 MB / 0.5887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001858/0.01539, allocations: 246.2 kB / 0.6115 GB, free: 5.398 MB / 0.5887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007283/0.01612, allocations: 0.6816 MB / 0.6122 GB, free: 4.684 MB / 0.5887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001683/0.01629, allocations: 174.3 kB / 0.6123 GB, free: 4.504 MB / 0.5887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.786e-05/0.01632, allocations: 36.84 kB / 0.6124 GB, free: 4.465 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004065/0.01673, allocations: 482 kB / 0.6128 GB, free: 3.98 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.01675, allocations: 30.56 kB / 0.6129 GB, free: 3.941 MB / 0.5887 GB Notification: Performance of pre-optimization done (n=15): time 1.102e-06/0.01675, allocations: 0 / 0.6129 GB, free: 3.941 MB / 0.5887 GB Notification: Performance of matching and sorting (n=15): time 0.000151/0.01691, allocations: 135.8 kB / 0.613 GB, free: 3.805 MB / 0.5887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.507e-05/0.01693, allocations: 55.41 kB / 0.6131 GB, free: 3.738 MB / 0.5887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.45e-05/0.01701, allocations: 173.7 kB / 0.6132 GB, free: 3.559 MB / 0.5887 GB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.01703, allocations: 25.7 kB / 0.6132 GB, free: 3.527 MB / 0.5887 GB Notification: Performance of collectInitialEqns (initialization): time 5.804e-05/0.01709, allocations: 148 kB / 0.6134 GB, free: 3.379 MB / 0.5887 GB Notification: Performance of collectInitialBindings (initialization): time 2.719e-05/0.01711, allocations: 59.52 kB / 0.6134 GB, free: 3.32 MB / 0.5887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.372e-05/0.01716, allocations: 49.64 kB / 0.6135 GB, free: 3.266 MB / 0.5887 GB Notification: Performance of setup shared object (initialization): time 7.807e-05/0.01724, allocations: 330.7 kB / 0.6138 GB, free: 2.934 MB / 0.5887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.472e-05/0.01726, allocations: 22.81 kB / 0.6138 GB, free: 2.91 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.509e-05/0.01733, allocations: 117.7 kB / 0.6139 GB, free: 2.746 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001261/0.01745, allocations: 197.5 kB / 0.6141 GB, free: 2.504 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.01745, allocations: 4 kB / 0.6141 GB, free: 2.5 MB / 0.5887 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001373/0.01759, allocations: 160.1 kB / 0.6143 GB, free: 2.336 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.0176, allocations: 4 kB / 0.6143 GB, free: 2.332 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.01761, allocations: 8.453 kB / 0.6143 GB, free: 2.324 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.01763, allocations: 8 kB / 0.6143 GB, free: 2.316 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001487/0.01777, allocations: 67.91 kB / 0.6144 GB, free: 2.25 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.01778, allocations: 11.94 kB / 0.6144 GB, free: 2.238 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.549e-05/0.01784, allocations: 31.77 kB / 0.6144 GB, free: 2.207 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.25e-05/0.01785, allocations: 12 kB / 0.6144 GB, free: 2.195 MB / 0.5887 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.107e-05/0.01792, allocations: 128.5 kB / 0.6145 GB, free: 2.059 MB / 0.5887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.317e-05/0.01794, allocations: 15.98 kB / 0.6146 GB, free: 2.043 MB / 0.5887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001415/0.01808, allocations: 118.2 kB / 0.6147 GB, free: 1.926 MB / 0.5887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.01809, allocations: 0 / 0.6147 GB, free: 1.926 MB / 0.5887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.01809, allocations: 8 kB / 0.6147 GB, free: 1.918 MB / 0.5887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.0181, allocations: 0 / 0.6147 GB, free: 1.918 MB / 0.5887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001149/0.01821, allocations: 113.7 kB / 0.6148 GB, free: 1.789 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.01821, allocations: 3.938 kB / 0.6148 GB, free: 1.785 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.187e-05/0.01829, allocations: 35.98 kB / 0.6148 GB, free: 1.75 MB / 0.5887 GB Notification: Performance of postOpt removeConstants (simulation): time 3.179e-05/0.01832, allocations: 23.92 kB / 0.6148 GB, free: 1.727 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.01832, allocations: 4 kB / 0.6149 GB, free: 1.723 MB / 0.5887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.019e-06/0.01832, allocations: 3.938 kB / 0.6149 GB, free: 1.719 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.01833, allocations: 0 / 0.6149 GB, free: 1.719 MB / 0.5887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-07/0.01833, allocations: 0 / 0.6149 GB, free: 1.719 MB / 0.5887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001211/0.01845, allocations: 236.7 kB / 0.6151 GB, free: 1.473 MB / 0.5887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.385e-05/0.01846, allocations: 8 kB / 0.6151 GB, free: 1.465 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.406e-05/0.01854, allocations: 11.98 kB / 0.6151 GB, free: 1.453 MB / 0.5887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.829e-05/0.01855, allocations: 7.984 kB / 0.6151 GB, free: 1.445 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.01857, allocations: 11.98 kB / 0.6151 GB, free: 1.434 MB / 0.5887 GB Notification: Performance of sorting global known variables: time 2.448e-05/0.01859, allocations: 32.83 kB / 0.6152 GB, free: 1.398 MB / 0.5887 GB Notification: Performance of sort global known variables: time 4e-08/0.01859, allocations: 0 / 0.6152 GB, free: 1.398 MB / 0.5887 GB Notification: Performance of remove unused functions: time 0.0002145/0.0188, allocations: 83.81 kB / 0.6152 GB, free: 1.316 MB / 0.5887 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.0002178/0.01902, allocations: 156.2 kB / 0.6154 GB, free: 1.152 MB / 0.5887 GB Notification: Performance of simCode: created initialization part: time 0.0001194/0.01914, allocations: 104.5 kB / 0.6155 GB, free: 1.047 MB / 0.5887 GB Notification: Performance of simCode: created event and clocks part: time 9.898e-06/0.01915, allocations: 4 kB / 0.6155 GB, free: 1.043 MB / 0.5887 GB Notification: Performance of simCode: created simulation system equations: time 4.197e-05/0.01919, allocations: 40.84 kB / 0.6155 GB, free: 1 MB / 0.5887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002353/0.01943, allocations: 152.8 kB / 0.6157 GB, free: 0.8359 MB / 0.5887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00267/0.0221, allocations: 342.7 kB / 0.616 GB, free: 480 kB / 0.5887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.821e-05/0.02214, allocations: 71.98 kB / 0.6161 GB, free: 388 kB / 0.5887 GB Notification: Performance of simCode: alias equations: time 8.901e-05/0.02223, allocations: 41.39 kB / 0.6161 GB, free: 344 kB / 0.5887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001495/0.02238, allocations: 129.2 kB / 0.6162 GB, free: 212 kB / 0.5887 GB Notification: Performance of SimCode: time 1.062e-06/0.02238, allocations: 0 / 0.6162 GB, free: 212 kB / 0.5887 GB Notification: Performance of Templates: time 0.004845/0.02722, allocations: 3.48 MB / 0.6196 GB, free: 12.79 MB / 0.6043 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.543027740903199]