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.04637/0.04637, allocations: 9.133 MB / 28.99 MB, free: 0.8164 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.001354/0.001354, allocations: 87.27 kB / 35.33 MB, free: 1.078 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.001325/0.001325, allocations: 163.6 kB / 38.73 MB, free: 2.5 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.059/1.059, 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.003993/0.003993, allocations: 0.8302 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.727/1.727, allocations: 274.9 MB / 0.5419 GB, free: 0.6328 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 1.663e-06/1.663e-06, allocations: 0 / 0.6378 GB, free: 14.21 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.381e-05/2.548e-05, allocations: 6.312 kB / 0.6378 GB, free: 14.2 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Media.Examples.WaterDerivativeCheck): time 0.001999/0.002025, allocations: 1.313 MB / 0.6391 GB, free: 12.88 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.002926/0.004951, allocations: 3.374 MB / 0.6424 GB, free: 9.484 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.046e-05/0.004991, allocations: 0 / 0.6424 GB, free: 9.484 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.693e-05/0.005018, allocations: 3.984 kB / 0.6424 GB, free: 9.48 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 5.883e-05/0.005077, allocations: 3.938 kB / 0.6424 GB, free: 9.477 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005218/0.005599, allocations: 119.4 kB / 0.6425 GB, free: 9.359 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 7.953e-05/0.005678, allocations: 31.86 kB / 0.6425 GB, free: 9.328 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 3.797e-05/0.005716, allocations: 0 / 0.6425 GB, free: 9.328 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 6.76e-05/0.005784, allocations: 31.89 kB / 0.6426 GB, free: 9.297 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 6.487e-05/0.005849, allocations: 11.98 kB / 0.6426 GB, free: 9.285 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.239e-05/0.005861, allocations: 0 / 0.6426 GB, free: 9.285 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001828/0.006044, allocations: 75.69 kB / 0.6426 GB, free: 9.211 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.82e-05/0.006062, allocations: 11.97 kB / 0.6426 GB, free: 9.199 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.936e-05/0.006082, allocations: 12 kB / 0.6427 GB, free: 9.188 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001575/0.006239, allocations: 75.72 kB / 0.6427 GB, free: 9.113 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.006242, allocations: 0 / 0.6427 GB, free: 9.113 MB / 0.6043 GB Notification: Performance of FrontEnd: time 2.575e-06/0.006245, allocations: 4 kB / 0.6427 GB, free: 9.109 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 5e-06/0.00625, allocations: 0 / 0.6427 GB, free: 9.109 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.0003312/0.006581, allocations: 236.6 kB / 0.643 GB, free: 8.855 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.00662, allocations: 11.98 kB / 0.643 GB, free: 8.844 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001093/0.006729, allocations: 16.86 kB / 0.643 GB, free: 8.828 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.04e-05/0.0068, allocations: 105.8 kB / 0.6431 GB, free: 8.699 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.006814, allocations: 8.375 kB / 0.6431 GB, free: 8.691 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.356e-05/0.006838, allocations: 8.375 kB / 0.6431 GB, free: 8.684 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001237/0.006961, allocations: 127.3 kB / 0.6432 GB, free: 8.535 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.006971, allocations: 192 / 0.6432 GB, free: 8.535 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.006981, allocations: 8.125 kB / 0.6432 GB, free: 8.527 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.006987, allocations: 0 / 0.6432 GB, free: 8.527 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.588e-05/0.007022, allocations: 15.92 kB / 0.6432 GB, free: 8.512 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001234/0.007146, allocations: 69 kB / 0.6433 GB, free: 8.43 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 8.042e-05/0.007226, allocations: 46.62 kB / 0.6434 GB, free: 8.375 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.266e-05/0.007249, allocations: 12.86 kB / 0.6434 GB, free: 8.359 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004984/0.007747, allocations: 220.3 kB / 0.6436 GB, free: 8.129 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/0.007784, allocations: 46.42 kB / 0.6436 GB, free: 8.074 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=5): time 1.893e-06/0.007785, allocations: 0 / 0.6436 GB, free: 8.074 MB / 0.6043 GB Notification: Performance of matching and sorting (n=7): time 0.0006168/0.008402, allocations: 225.3 kB / 0.6438 GB, free: 7.82 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.426e-05/0.008447, allocations: 51.41 kB / 0.6439 GB, free: 7.758 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.121e-05/0.008538, allocations: 110.7 kB / 0.644 GB, free: 7.637 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.008553, allocations: 29.7 kB / 0.644 GB, free: 7.602 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 5.536e-05/0.008609, allocations: 92.03 kB / 0.6441 GB, free: 7.508 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.744e-05/0.008626, allocations: 27.8 kB / 0.6441 GB, free: 7.48 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.034e-05/0.008666, allocations: 25.7 kB / 0.6442 GB, free: 7.449 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.008782, allocations: 314.8 kB / 0.6445 GB, free: 7.133 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.662e-05/0.008798, allocations: 11.98 kB / 0.6445 GB, free: 7.121 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.541e-05/0.008844, allocations: 45.47 kB / 0.6445 GB, free: 7.059 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.317e-05/0.008917, allocations: 73.22 kB / 0.6446 GB, free: 6.969 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.00892, allocations: 8 kB / 0.6446 GB, free: 6.961 MB / 0.6043 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001037/0.009023, allocations: 77.48 kB / 0.6447 GB, free: 6.879 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.009044, allocations: 4 kB / 0.6447 GB, free: 6.875 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.009053, allocations: 4 kB / 0.6447 GB, free: 6.871 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.009072, allocations: 0 / 0.6447 GB, free: 6.871 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.65e-05/0.009149, allocations: 27.92 kB / 0.6447 GB, free: 6.844 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.009157, allocations: 4 kB / 0.6447 GB, free: 6.84 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.177e-05/0.009178, allocations: 0 / 0.6447 GB, free: 6.84 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.009185, allocations: 4 kB / 0.6447 GB, free: 6.836 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 8.119e-05/0.009266, allocations: 121.9 kB / 0.6448 GB, free: 6.707 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.232e-05/0.009289, allocations: 15.86 kB / 0.6448 GB, free: 6.691 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.81e-05/0.009327, allocations: 8.125 kB / 0.6449 GB, free: 6.676 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.009329, allocations: 0 / 0.6449 GB, free: 6.676 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.009332, allocations: 0 / 0.6449 GB, free: 6.676 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.009336, allocations: 4 kB / 0.6449 GB, free: 6.672 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001857/0.009522, allocations: 81.88 kB / 0.6449 GB, free: 6.574 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.009526, allocations: 4 kB / 0.6449 GB, free: 6.57 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.171e-05/0.009587, allocations: 19.92 kB / 0.645 GB, free: 6.551 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.009589, allocations: 0 / 0.645 GB, free: 6.551 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.009601, allocations: 7.938 kB / 0.645 GB, free: 6.543 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.009602, allocations: 0 / 0.645 GB, free: 6.543 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.009603, allocations: 0 / 0.645 GB, free: 6.543 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001838/0.009787, allocations: 163.5 kB / 0.6451 GB, free: 6.367 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 2.827e-05/0.009815, allocations: 0 / 0.6451 GB, free: 6.367 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.401e-05/0.009829, allocations: 7.938 kB / 0.6451 GB, free: 6.359 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.423e-05/0.009884, allocations: 3.984 kB / 0.6451 GB, free: 6.355 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.802e-05/0.009902, allocations: 4 kB / 0.6451 GB, free: 6.352 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.009907, allocations: 0 / 0.6451 GB, free: 6.352 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.793e-05/0.009925, allocations: 20.78 kB / 0.6452 GB, free: 6.328 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.009925, allocations: 0 / 0.6452 GB, free: 6.328 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001406/0.01007, allocations: 12 kB / 0.6452 GB, free: 6.316 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.000168/0.01023, allocations: 80.42 kB / 0.6452 GB, free: 6.227 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 9.82e-05/0.01033, allocations: 41.05 kB / 0.6453 GB, free: 6.184 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 1.113e-05/0.01034, allocations: 0 / 0.6453 GB, free: 6.184 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 0.0001526/0.0105, allocations: 20.84 kB / 0.6453 GB, free: 6.16 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001752/0.01067, allocations: 11.94 kB / 0.6453 GB, free: 6.148 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007034/0.01137, allocations: 232.5 kB / 0.6455 GB, free: 5.895 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.297e-05/0.01142, allocations: 59.34 kB / 0.6456 GB, free: 5.816 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 3.924e-05/0.01146, allocations: 8 kB / 0.6456 GB, free: 5.809 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.613e-05/0.01152, allocations: 63.36 kB / 0.6457 GB, free: 5.746 MB / 0.6043 GB Notification: Performance of SimCode: time 9.41e-07/0.01152, allocations: 0 / 0.6457 GB, free: 5.746 MB / 0.6043 GB Notification: Performance of Templates: time 0.002715/0.01424, allocations: 0.7166 MB / 0.6464 GB, free: 5.035 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 -lv LOG_STATS > AixLib_AixLib.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.663231810089201]