Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Media.Examples.WaterDerivativeCheck.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.06428/0.06428, allocations: 9.133 MB / 28.99 MB, free: 6.117 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.001566/0.001566, allocations: 90.66 kB / 35.33 MB, free: 0.7852 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.00136/0.00136, allocations: 163.8 kB / 38.73 MB, free: 2.145 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.023/1.023, allocations: 177.2 MB / 219.2 MB, free: 10.1 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.004263/0.004263, 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.782/1.782, 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.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Media.Examples.WaterDerivativeCheck") translateModel(AixLib.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Media.Examples.WaterDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.614e-06/2.614e-06, allocations: 0 / 0.6378 GB, free: 14.13 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.465e-05/3.727e-05, allocations: 2.312 kB / 0.6378 GB, free: 14.13 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Media.Examples.WaterDerivativeCheck): time 0.003093/0.003131, allocations: 1.364 MB / 0.6392 GB, free: 12.75 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.004884/0.008015, allocations: 3.374 MB / 0.6425 GB, free: 9.367 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.305e-05/0.008058, allocations: 4 kB / 0.6425 GB, free: 9.363 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.424e-05/0.008082, allocations: 3.938 kB / 0.6425 GB, free: 9.359 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 5.819e-05/0.00814, allocations: 0 / 0.6425 GB, free: 9.359 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006117/0.008752, allocations: 111.4 kB / 0.6426 GB, free: 9.25 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 8.935e-05/0.008841, allocations: 35.84 kB / 0.6426 GB, free: 9.215 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 4.022e-05/0.008881, allocations: 4 kB / 0.6426 GB, free: 9.211 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 8.279e-05/0.008964, allocations: 27.95 kB / 0.6427 GB, free: 9.184 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 6.951e-05/0.009034, allocations: 11.94 kB / 0.6427 GB, free: 9.172 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.504e-05/0.009049, allocations: 7.984 kB / 0.6427 GB, free: 9.164 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000234/0.009283, allocations: 63.75 kB / 0.6427 GB, free: 9.102 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 2.198e-05/0.009305, allocations: 11.98 kB / 0.6427 GB, free: 9.09 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 2.6e-05/0.009331, allocations: 19.92 kB / 0.6428 GB, free: 9.07 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001774/0.009508, allocations: 67.8 kB / 0.6428 GB, free: 9.004 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.009511, allocations: 0 / 0.6428 GB, free: 9.004 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.283e-06/0.009513, allocations: 0 / 0.6428 GB, free: 9.004 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.009517, allocations: 0 / 0.6428 GB, free: 9.004 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000363/0.00988, allocations: 244.6 kB / 0.6431 GB, free: 8.742 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.009927, allocations: 15.98 kB / 0.6431 GB, free: 8.727 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001403/0.01007, allocations: 16.84 kB / 0.6431 GB, free: 8.711 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.335e-05/0.01016, allocations: 105.8 kB / 0.6432 GB, free: 8.582 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.01018, allocations: 384 / 0.6432 GB, free: 8.582 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.795e-05/0.0102, allocations: 12.38 kB / 0.6432 GB, free: 8.57 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/0.01035, allocations: 131.2 kB / 0.6433 GB, free: 8.418 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.01036, allocations: 192 / 0.6433 GB, free: 8.418 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.01038, allocations: 8.125 kB / 0.6433 GB, free: 8.41 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.01038, allocations: 0 / 0.6433 GB, free: 8.41 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.892e-05/0.01042, allocations: 11.98 kB / 0.6433 GB, free: 8.398 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001315/0.01055, allocations: 72.98 kB / 0.6434 GB, free: 8.312 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 8.853e-05/0.01064, allocations: 46.62 kB / 0.6435 GB, free: 8.258 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.871e-05/0.01066, allocations: 8.859 kB / 0.6435 GB, free: 8.246 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004884/0.01115, allocations: 220.3 kB / 0.6437 GB, free: 8.016 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/0.01118, allocations: 38.5 kB / 0.6437 GB, free: 7.969 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=5): time 1.332e-06/0.01118, allocations: 0 / 0.6437 GB, free: 7.969 MB / 0.6043 GB Notification: Performance of matching and sorting (n=7): time 0.0005505/0.01173, allocations: 233.7 kB / 0.6439 GB, free: 7.707 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.861e-05/0.01176, allocations: 55.41 kB / 0.644 GB, free: 7.641 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.099e-05/0.01182, allocations: 102.7 kB / 0.6441 GB, free: 7.527 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.048e-05/0.01183, allocations: 25.7 kB / 0.6441 GB, free: 7.496 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 4.101e-05/0.01187, allocations: 99.97 kB / 0.6442 GB, free: 7.395 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.559e-05/0.01189, allocations: 27.78 kB / 0.6442 GB, free: 7.367 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.04e-05/0.01192, allocations: 25.72 kB / 0.6443 GB, free: 7.336 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 8.538e-05/0.012, allocations: 322.8 kB / 0.6446 GB, free: 7.012 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.187e-05/0.01201, allocations: 8 kB / 0.6446 GB, free: 7.004 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.739e-05/0.01205, allocations: 53.06 kB / 0.6446 GB, free: 6.934 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.303e-05/0.0121, allocations: 57.08 kB / 0.6447 GB, free: 6.859 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.01211, allocations: 4 kB / 0.6447 GB, free: 6.855 MB / 0.6043 GB Notification: Performance of matching and sorting (n=12) (initialization): time 8.424e-05/0.01219, allocations: 89.58 kB / 0.6448 GB, free: 6.762 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.0122, allocations: 8 kB / 0.6448 GB, free: 6.754 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.01221, allocations: 0 / 0.6448 GB, free: 6.754 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.01222, allocations: 4 kB / 0.6448 GB, free: 6.75 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.038e-05/0.01227, allocations: 19.94 kB / 0.6448 GB, free: 6.73 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.01228, allocations: 3.984 kB / 0.6448 GB, free: 6.727 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.988e-05/0.0123, allocations: 8 kB / 0.6448 GB, free: 6.719 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.01231, allocations: 4 kB / 0.6448 GB, free: 6.715 MB / 0.6043 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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 5.846e-05/0.01236, allocations: 125.8 kB / 0.6449 GB, free: 6.582 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.655e-05/0.01238, allocations: 3.938 kB / 0.6449 GB, free: 6.578 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.667e-05/0.01241, allocations: 12.12 kB / 0.645 GB, free: 6.559 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.01241, allocations: 0 / 0.645 GB, free: 6.559 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.01241, allocations: 0 / 0.645 GB, free: 6.559 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.01242, allocations: 3.984 kB / 0.645 GB, free: 6.555 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001326/0.01255, allocations: 81.88 kB / 0.645 GB, free: 6.457 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.01255, allocations: 0 / 0.645 GB, free: 6.457 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.006e-05/0.0126, allocations: 16 kB / 0.6451 GB, free: 6.441 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.542e-06/0.0126, allocations: 0 / 0.6451 GB, free: 6.441 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-06/0.01261, allocations: 7.938 kB / 0.6451 GB, free: 6.434 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.01261, allocations: 0 / 0.6451 GB, free: 6.434 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.01261, allocations: 0 / 0.6451 GB, free: 6.434 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000121/0.01273, allocations: 167.4 kB / 0.6452 GB, free: 6.254 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 1.747e-05/0.01275, allocations: 4 kB / 0.6452 GB, free: 6.25 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.017e-05/0.01276, allocations: 3.938 kB / 0.6452 GB, free: 6.246 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.583e-05/0.0128, allocations: 8 kB / 0.6452 GB, free: 6.238 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.269e-05/0.01281, allocations: 3.984 kB / 0.6452 GB, free: 6.234 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.119e-06/0.01282, allocations: 4 kB / 0.6452 GB, free: 6.23 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 9.027e-06/0.01283, allocations: 4.859 kB / 0.6452 GB, free: 6.223 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.01283, allocations: 0 / 0.6452 GB, free: 6.223 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.000128/0.01296, allocations: 20 kB / 0.6453 GB, free: 6.203 MB / 0.6043 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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.0001035/0.01306, allocations: 80.41 kB / 0.6453 GB, free: 6.113 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 7.679e-05/0.01314, allocations: 44.77 kB / 0.6454 GB, free: 6.066 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.01314, allocations: 0 / 0.6454 GB, free: 6.066 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 1.483e-05/0.01316, allocations: 16.8 kB / 0.6454 GB, free: 6.047 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001432/0.0133, allocations: 12 kB / 0.6454 GB, free: 6.035 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005126/0.01381, allocations: 229.1 kB / 0.6456 GB, free: 5.785 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.033e-05/0.01385, allocations: 63.3 kB / 0.6457 GB, free: 5.703 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 3.308e-05/0.01389, allocations: 11.98 kB / 0.6457 GB, free: 5.691 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.037e-05/0.01395, allocations: 59.38 kB / 0.6458 GB, free: 5.633 MB / 0.6043 GB Notification: Performance of SimCode: time 4.71e-07/0.01395, allocations: 0 / 0.6458 GB, free: 5.633 MB / 0.6043 GB Notification: Performance of Templates: time 0.00245/0.0164, allocations: 0.7243 MB / 0.6465 GB, free: 4.914 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Media.Examples.WaterDerivativeCheck.makefile [Timeout 660] (rm -f AixLib_AixLib.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo AixLib_AixLib.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < AixLib_AixLib.Media.Examples.WaterDerivativeCheck.pipe >> ../files/AixLib_AixLib.Media.Examples.WaterDerivativeCheck.sim & ./AixLib_AixLib.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.687582137994468]