Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Modulo.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.03992/0.03992, allocations: 9.128 MB / 28.99 MB, free: 0.8086 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.0008823/0.0008823, allocations: 90.72 kB / 35.33 MB, free: 1.074 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.00185/0.00185, allocations: 164.5 kB / 38.73 MB, free: 2.508 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 0.9659/0.9659, allocations: 177.2 MB / 219.2 MB, free: 10.07 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.004118/0.004118, allocations: 0.8263 MB / 276.5 MB, free: 0.7031 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.638/1.638, allocations: 274.9 MB / 0.5419 GB, free: 0.6055 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.Controls.OBC.CDL.Reals.Validation.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Modulo") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Modulo") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 0.638 GB, free: 14.01 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.628e-05/1.757e-05, allocations: 6.25 kB / 0.638 GB, free: 14 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001251/0.001269, allocations: 0.7461 MB / 0.6387 GB, free: 13.25 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0008024/0.002071, allocations: 0.9209 MB / 0.6396 GB, free: 12.32 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.969e-05/0.002101, allocations: 0 / 0.6396 GB, free: 12.32 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.523e-05/0.002126, allocations: 3.938 kB / 0.6396 GB, free: 12.32 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 6.314e-05/0.002189, allocations: 11.86 kB / 0.6396 GB, free: 12.3 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001359/0.002325, allocations: 15.98 kB / 0.6396 GB, free: 12.29 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 6.477e-05/0.00239, allocations: 43.86 kB / 0.6397 GB, free: 12.25 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 7.184e-05/0.002462, allocations: 11.97 kB / 0.6397 GB, free: 12.23 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 6.976e-05/0.002531, allocations: 23.98 kB / 0.6397 GB, free: 12.21 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 4.303e-05/0.002574, allocations: 19.92 kB / 0.6397 GB, free: 12.19 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.002591, allocations: 4 kB / 0.6397 GB, free: 12.19 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 7.754e-06/0.002598, allocations: 4 kB / 0.6397 GB, free: 12.18 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.617e-05/0.002615, allocations: 7.984 kB / 0.6397 GB, free: 12.18 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.548e-05/0.00263, allocations: 8 kB / 0.6397 GB, free: 12.17 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 6.915e-05/0.002699, allocations: 31.83 kB / 0.6398 GB, free: 12.14 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.002702, allocations: 7.922 kB / 0.6398 GB, free: 12.13 MB / 0.6043 GB Notification: Performance of FrontEnd: time 4.51e-07/0.002702, allocations: 0 / 0.6398 GB, free: 12.13 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.356e-06/0.002706, allocations: 4 kB / 0.6398 GB, free: 12.12 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002454/0.002951, allocations: 248.9 kB / 0.64 GB, free: 11.86 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.111e-05/0.002982, allocations: 15.98 kB / 0.64 GB, free: 11.84 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.111e-05/0.003003, allocations: 0.9375 kB / 0.64 GB, free: 11.84 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.88e-05/0.003072, allocations: 121.7 kB / 0.6401 GB, free: 11.7 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.215e-06/0.00308, allocations: 4.375 kB / 0.6402 GB, free: 11.69 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.701e-06/0.003086, allocations: 384 / 0.6402 GB, free: 11.69 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.864e-05/0.003185, allocations: 66.94 kB / 0.6402 GB, free: 11.62 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.161e-06/0.003191, allocations: 192 / 0.6402 GB, free: 11.62 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.0032, allocations: 384 / 0.6402 GB, free: 11.62 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.003205, allocations: 384 / 0.6402 GB, free: 11.62 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.228e-05/0.003227, allocations: 19.86 kB / 0.6402 GB, free: 11.6 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001792/0.003406, allocations: 144.4 kB / 0.6404 GB, free: 11.44 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 4.721e-05/0.003453, allocations: 30.56 kB / 0.6404 GB, free: 11.4 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.5e-05/0.003468, allocations: 12.86 kB / 0.6404 GB, free: 11.39 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.192e-05/0.00348, allocations: 3.984 kB / 0.6404 GB, free: 11.38 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.818e-05/0.003498, allocations: 30.56 kB / 0.6404 GB, free: 11.34 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.003499, allocations: 0 / 0.6404 GB, free: 11.34 MB / 0.6043 GB Notification: Performance of matching and sorting (n=3): time 9.827e-05/0.003598, allocations: 49.66 kB / 0.6405 GB, free: 11.29 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.324e-05/0.003621, allocations: 55.34 kB / 0.6405 GB, free: 11.22 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.152e-05/0.003672, allocations: 122.7 kB / 0.6407 GB, free: 11.09 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 8.556e-06/0.003681, allocations: 29.7 kB / 0.6407 GB, free: 11.05 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 2.607e-05/0.003707, allocations: 84.12 kB / 0.6408 GB, free: 10.97 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.65e-05/0.003723, allocations: 11.91 kB / 0.6408 GB, free: 10.96 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.288e-05/0.003746, allocations: 13.7 kB / 0.6408 GB, free: 10.94 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 6.485e-05/0.003811, allocations: 318.8 kB / 0.6411 GB, free: 10.62 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.148e-06/0.00382, allocations: 0 / 0.6411 GB, free: 10.62 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.055e-05/0.003831, allocations: 4 kB / 0.6411 GB, free: 10.61 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.483e-05/0.003856, allocations: 20.78 kB / 0.6411 GB, free: 10.59 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.003857, allocations: 0 / 0.6411 GB, free: 10.59 MB / 0.6043 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.328e-05/0.0039, allocations: 37.7 kB / 0.6412 GB, free: 10.55 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.003911, allocations: 11.98 kB / 0.6412 GB, free: 10.54 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.003915, allocations: 4 kB / 0.6412 GB, free: 10.53 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.003926, allocations: 7.938 kB / 0.6412 GB, free: 10.52 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.477e-05/0.00398, allocations: 4 kB / 0.6412 GB, free: 10.52 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.675e-06/0.003983, allocations: 4 kB / 0.6412 GB, free: 10.52 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.232e-05/0.004005, allocations: 11.92 kB / 0.6412 GB, free: 10.5 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-06/0.00401, allocations: 0 / 0.6412 GB, free: 10.5 MB / 0.6043 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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 4.334e-05/0.004053, allocations: 105.8 kB / 0.6413 GB, free: 10.39 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.442e-05/0.004068, allocations: 4 kB / 0.6413 GB, free: 10.39 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.916e-05/0.004087, allocations: 8 kB / 0.6413 GB, free: 10.38 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.004089, allocations: 11.88 kB / 0.6413 GB, free: 10.37 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.004092, allocations: 3.984 kB / 0.6413 GB, free: 10.37 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.004094, allocations: 4 kB / 0.6413 GB, free: 10.36 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.838e-05/0.004172, allocations: 65.89 kB / 0.6414 GB, free: 10.28 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-07/0.004172, allocations: 0 / 0.6414 GB, free: 10.28 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.662e-05/0.004199, allocations: 11.98 kB / 0.6414 GB, free: 10.27 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.004201, allocations: 4 kB / 0.6414 GB, free: 10.27 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.998e-06/0.004205, allocations: 0 / 0.6414 GB, free: 10.27 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.31e-07/0.004205, allocations: 0 / 0.6414 GB, free: 10.27 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.004206, allocations: 0 / 0.6414 GB, free: 10.27 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.857e-05/0.004274, allocations: 143.5 kB / 0.6416 GB, free: 10.11 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 5.571e-06/0.00428, allocations: 3.984 kB / 0.6416 GB, free: 10.11 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.855e-06/0.004288, allocations: 0 / 0.6416 GB, free: 10.11 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.507e-05/0.004323, allocations: 11.94 kB / 0.6416 GB, free: 10.09 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.079e-05/0.004354, allocations: 3.984 kB / 0.6416 GB, free: 10.09 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.004357, allocations: 4.312 kB / 0.6416 GB, free: 10.09 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.419e-05/0.004371, allocations: 20.78 kB / 0.6416 GB, free: 10.06 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.004371, allocations: 0 / 0.6416 GB, free: 10.06 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001172/0.004488, allocations: 11.95 kB / 0.6416 GB, free: 10.05 MB / 0.6043 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 (3): * Single equations (assignments): 3 * 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 6.287e-05/0.004551, allocations: 80.41 kB / 0.6417 GB, free: 9.961 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 5.266e-05/0.004604, allocations: 20.84 kB / 0.6417 GB, free: 9.938 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.004606, allocations: 0 / 0.6417 GB, free: 9.938 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 1.843e-05/0.004624, allocations: 12.84 kB / 0.6417 GB, free: 9.922 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001284/0.004753, allocations: 12 kB / 0.6417 GB, free: 9.91 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002031/0.004956, allocations: 120.4 kB / 0.6418 GB, free: 9.766 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.634e-05/0.004992, allocations: 63.28 kB / 0.6419 GB, free: 9.684 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 1.677e-05/0.005009, allocations: 4 kB / 0.6419 GB, free: 9.68 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.068e-05/0.00506, allocations: 59.38 kB / 0.642 GB, free: 9.621 MB / 0.6043 GB Notification: Performance of SimCode: time 6.41e-07/0.00506, allocations: 0 / 0.642 GB, free: 9.621 MB / 0.6043 GB Notification: Performance of Templates: time 0.001913/0.006973, allocations: 0.7427 MB / 0.6427 GB, free: 8.879 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Modulo.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Modulo.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Modulo -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.290586980059743]