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.04213/0.04213, 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.001186/0.001186, 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.00138/0.00138, 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 1.078/1.078, allocations: 177.1 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.005176/0.005176, allocations: 0.8224 MB / 276.5 MB, free: 0.7266 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.78/1.78, allocations: 274.9 MB / 0.5419 GB, free: 0.6445 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.643e-06/1.643e-06, allocations: 0 / 0.6379 GB, free: 14.09 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.167e-05/2.331e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.08 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001245/0.001268, allocations: 0.7029 MB / 0.6386 GB, free: 13.38 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0008462/0.002115, allocations: 0.9169 MB / 0.6395 GB, free: 12.45 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.317e-05/0.002148, allocations: 4 kB / 0.6395 GB, free: 12.45 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.634e-05/0.002174, allocations: 0 / 0.6395 GB, free: 12.45 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 6.371e-05/0.002238, allocations: 3.938 kB / 0.6395 GB, free: 12.44 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001335/0.002371, allocations: 19.91 kB / 0.6395 GB, free: 12.42 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 6.792e-05/0.002439, allocations: 47.84 kB / 0.6396 GB, free: 12.38 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 6.758e-05/0.002507, allocations: 4 kB / 0.6396 GB, free: 12.37 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 7.862e-05/0.002585, allocations: 31.91 kB / 0.6396 GB, free: 12.34 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 3.817e-05/0.002624, allocations: 15.98 kB / 0.6396 GB, free: 12.32 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/0.002643, allocations: 4 kB / 0.6396 GB, free: 12.32 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 8.556e-06/0.002651, allocations: 4 kB / 0.6396 GB, free: 12.32 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 2.06e-05/0.002672, allocations: 15.92 kB / 0.6396 GB, free: 12.3 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.917e-05/0.002691, allocations: 11.98 kB / 0.6396 GB, free: 12.29 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 7.191e-05/0.002763, allocations: 27.84 kB / 0.6397 GB, free: 12.26 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.002765, allocations: 0 / 0.6397 GB, free: 12.26 MB / 0.6043 GB Notification: Performance of FrontEnd: time 6.41e-07/0.002766, allocations: 0 / 0.6397 GB, free: 12.26 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.237e-06/0.002769, allocations: 0 / 0.6397 GB, free: 12.26 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.0003088/0.003078, allocations: 252.9 kB / 0.6399 GB, free: 11.99 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.003111, allocations: 19.98 kB / 0.6399 GB, free: 11.97 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.389e-05/0.003135, allocations: 0.9375 kB / 0.6399 GB, free: 11.97 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.905e-05/0.003214, allocations: 117.7 kB / 0.64 GB, free: 11.83 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-06/0.003224, allocations: 4.375 kB / 0.6401 GB, free: 11.82 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.196e-05/0.003236, allocations: 12.3 kB / 0.6401 GB, free: 11.81 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001153/0.003351, allocations: 58.94 kB / 0.6401 GB, free: 11.75 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.691e-06/0.003357, allocations: 192 / 0.6401 GB, free: 11.75 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.442e-06/0.003363, allocations: 384 / 0.6401 GB, free: 11.75 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.003367, allocations: 4.375 kB / 0.6401 GB, free: 11.74 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.142e-05/0.003389, allocations: 7.938 kB / 0.6401 GB, free: 11.73 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001912/0.00358, allocations: 156.3 kB / 0.6403 GB, free: 11.57 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 5.49e-05/0.003635, allocations: 34.56 kB / 0.6403 GB, free: 11.52 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.589e-05/0.003651, allocations: 8.859 kB / 0.6403 GB, free: 11.51 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.23e-05/0.003663, allocations: 4 kB / 0.6403 GB, free: 11.51 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.792e-05/0.003681, allocations: 30.56 kB / 0.6404 GB, free: 11.47 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.003682, allocations: 0 / 0.6404 GB, free: 11.47 MB / 0.6043 GB Notification: Performance of matching and sorting (n=3): time 0.0001009/0.003783, allocations: 45.72 kB / 0.6404 GB, free: 11.42 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.658e-05/0.003809, allocations: 55.34 kB / 0.6405 GB, free: 11.35 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.399e-05/0.003863, allocations: 114.7 kB / 0.6406 GB, free: 11.23 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 9.748e-06/0.003873, allocations: 29.7 kB / 0.6406 GB, free: 11.19 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 2.981e-05/0.003903, allocations: 92.12 kB / 0.6407 GB, free: 11.1 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 2.34e-05/0.003926, allocations: 7.906 kB / 0.6407 GB, free: 11.09 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.399e-05/0.00395, allocations: 17.7 kB / 0.6407 GB, free: 11.07 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 7.322e-05/0.004024, allocations: 318.8 kB / 0.641 GB, free: 10.75 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.004e-05/0.004034, allocations: 0 / 0.641 GB, free: 10.75 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.079e-05/0.004044, allocations: 4 kB / 0.641 GB, free: 10.74 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.519e-05/0.00407, allocations: 12.84 kB / 0.641 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.004071, allocations: 0 / 0.641 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.737e-05/0.004119, allocations: 49.56 kB / 0.6411 GB, free: 10.67 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/0.004129, allocations: 4 kB / 0.6411 GB, free: 10.67 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.004133, allocations: 4 kB / 0.6411 GB, free: 10.66 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.948e-06/0.004143, allocations: 3.938 kB / 0.6411 GB, free: 10.66 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.119e-05/0.004204, allocations: 15.98 kB / 0.6411 GB, free: 10.64 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.004e-06/0.004206, allocations: 0 / 0.6411 GB, free: 10.64 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.275e-05/0.004229, allocations: 11.94 kB / 0.6411 GB, free: 10.63 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.004234, allocations: 4 kB / 0.6411 GB, free: 10.63 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.988e-05/0.004284, allocations: 109.8 kB / 0.6412 GB, free: 10.51 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.312e-05/0.004297, allocations: 4 kB / 0.6412 GB, free: 10.51 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.23e-05/0.00432, allocations: 8 kB / 0.6412 GB, free: 10.5 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.004323, allocations: 7.938 kB / 0.6412 GB, free: 10.49 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.004324, allocations: 0 / 0.6412 GB, free: 10.49 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.004327, allocations: 336 / 0.6412 GB, free: 10.49 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.885e-05/0.004406, allocations: 73.88 kB / 0.6413 GB, free: 10.4 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.004407, allocations: 0 / 0.6413 GB, free: 10.4 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.422e-05/0.004431, allocations: 11.98 kB / 0.6413 GB, free: 10.39 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-06/0.004432, allocations: 0 / 0.6413 GB, free: 10.39 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.508e-06/0.004436, allocations: 3.984 kB / 0.6413 GB, free: 10.39 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.004437, allocations: 0 / 0.6413 GB, free: 10.39 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.004439, allocations: 4 kB / 0.6413 GB, free: 10.38 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.378e-05/0.004512, allocations: 135.4 kB / 0.6415 GB, free: 10.23 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 5.972e-06/0.004518, allocations: 8 kB / 0.6415 GB, free: 10.23 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.084e-06/0.004525, allocations: 0 / 0.6415 GB, free: 10.23 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.55e-05/0.004561, allocations: 11.98 kB / 0.6415 GB, free: 10.21 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.984e-05/0.004591, allocations: 4 kB / 0.6415 GB, free: 10.21 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.377e-06/0.004594, allocations: 3.938 kB / 0.6415 GB, free: 10.21 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.215e-05/0.004606, allocations: 12.84 kB / 0.6415 GB, free: 10.19 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.004606, allocations: 0 / 0.6415 GB, free: 10.19 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001148/0.004721, allocations: 11.95 kB / 0.6415 GB, free: 10.18 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.664e-05/0.004788, allocations: 76.42 kB / 0.6416 GB, free: 10.09 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 6.434e-05/0.004852, allocations: 24.78 kB / 0.6416 GB, free: 10.07 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.004854, allocations: 0 / 0.6416 GB, free: 10.07 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 1.725e-05/0.004871, allocations: 12.86 kB / 0.6416 GB, free: 10.05 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001252/0.004997, allocations: 4 kB / 0.6416 GB, free: 10.05 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002134/0.00521, allocations: 136.3 kB / 0.6417 GB, free: 9.887 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.018e-05/0.00524, allocations: 55.3 kB / 0.6418 GB, free: 9.812 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 1.945e-05/0.00526, allocations: 11.98 kB / 0.6418 GB, free: 9.801 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.677e-05/0.005306, allocations: 55.38 kB / 0.6419 GB, free: 9.746 MB / 0.6043 GB Notification: Performance of SimCode: time 5.01e-07/0.005307, allocations: 0 / 0.6419 GB, free: 9.746 MB / 0.6043 GB Notification: Performance of Templates: time 0.001992/0.007299, allocations: 0.7427 MB / 0.6426 GB, free: 9.004 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 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.60432717576623]