Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.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.04191/0.04191, 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.0008961/0.0008961, 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.001107/0.001107, 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.019/1.019, 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.01096/0.01096, allocations: 0.8222 MB / 276.5 MB, free: 0.7227 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.632/1.632, 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.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime") translateModel(AixLib.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 0.6379 GB, free: 14.1 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.589e-05/1.715e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.09 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001074/0.001091, allocations: 0.5847 MB / 0.6385 GB, free: 13.51 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 4.573e-05/0.001136, allocations: 0 / 0.6385 GB, free: 13.51 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.438e-05/0.001151, allocations: 3.938 kB / 0.6385 GB, free: 13.51 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.103e-05/0.001172, allocations: 4 kB / 0.6385 GB, free: 13.5 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 2.319e-05/0.001195, allocations: 0 / 0.6385 GB, free: 13.5 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 2.845e-05/0.001223, allocations: 0 / 0.6385 GB, free: 13.5 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 4.275e-05/0.001266, allocations: 0 / 0.6385 GB, free: 13.5 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 3.289e-05/0.001299, allocations: 4 kB / 0.6385 GB, free: 13.5 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 2.929e-05/0.001328, allocations: 0 / 0.6385 GB, free: 13.5 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 2.038e-05/0.001349, allocations: 3.984 kB / 0.6385 GB, free: 13.5 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.171e-05/0.001361, allocations: 0 / 0.6385 GB, free: 13.5 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 3.657e-06/0.001364, allocations: 0 / 0.6385 GB, free: 13.5 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.115e-05/0.001375, allocations: 3.938 kB / 0.6385 GB, free: 13.49 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.517e-05/0.00139, allocations: 7.984 kB / 0.6385 GB, free: 13.48 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 4.779e-05/0.001438, allocations: 11.94 kB / 0.6385 GB, free: 13.47 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.00144, allocations: 0 / 0.6385 GB, free: 13.47 MB / 0.6043 GB Notification: Performance of FrontEnd: time 5.21e-07/0.001441, allocations: 0 / 0.6385 GB, free: 13.47 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 2.785e-06/0.001443, allocations: 0 / 0.6385 GB, free: 13.47 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001531/0.001597, allocations: 204.8 kB / 0.6387 GB, free: 13.25 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 2.956e-05/0.001626, allocations: 11.98 kB / 0.6387 GB, free: 13.23 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.806e-05/0.001644, allocations: 4.938 kB / 0.6387 GB, free: 13.23 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.726e-05/0.001691, allocations: 105.8 kB / 0.6388 GB, free: 13.1 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.376e-06/0.0017, allocations: 384 / 0.6388 GB, free: 13.1 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.811e-06/0.001706, allocations: 384 / 0.6388 GB, free: 13.1 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.52e-05/0.001761, allocations: 34.2 kB / 0.6388 GB, free: 13.06 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.789e-06/0.001766, allocations: 4.188 kB / 0.6388 GB, free: 13.06 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.681e-06/0.001771, allocations: 4.359 kB / 0.6389 GB, free: 13.05 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.001775, allocations: 384 / 0.6389 GB, free: 13.05 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.883e-06/0.001782, allocations: 3.938 kB / 0.6389 GB, free: 13.05 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.549e-05/0.001837, allocations: 57.39 kB / 0.6389 GB, free: 12.98 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 3.15e-05/0.001869, allocations: 18.58 kB / 0.6389 GB, free: 12.95 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.284e-05/0.001882, allocations: 8.953 kB / 0.6389 GB, free: 12.94 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 4.368e-06/0.001886, allocations: 0 / 0.6389 GB, free: 12.94 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.001907, allocations: 42.47 kB / 0.639 GB, free: 12.89 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=1): time 1.473e-06/0.001909, allocations: 4 kB / 0.639 GB, free: 12.89 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1): time 7.198e-05/0.001981, allocations: 29.7 kB / 0.639 GB, free: 12.85 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.906e-05/0.00201, allocations: 55.41 kB / 0.6391 GB, free: 12.79 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.297e-05/0.002033, allocations: 89.86 kB / 0.6392 GB, free: 12.69 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 7.283e-06/0.00204, allocations: 25.7 kB / 0.6392 GB, free: 12.66 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 1.826e-05/0.002058, allocations: 80.14 kB / 0.6393 GB, free: 12.57 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 2.324e-05/0.002081, allocations: 3.953 kB / 0.6393 GB, free: 12.57 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.91e-05/0.002101, allocations: 13.72 kB / 0.6393 GB, free: 12.55 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 6.948e-05/0.00217, allocations: 314.8 kB / 0.6396 GB, free: 12.23 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.188e-06/0.002174, allocations: 0 / 0.6396 GB, free: 12.23 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.909e-06/0.002179, allocations: 8.062 kB / 0.6396 GB, free: 12.23 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.013e-05/0.002199, allocations: 16.78 kB / 0.6396 GB, free: 12.21 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.002201, allocations: 0 / 0.6396 GB, free: 12.21 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1) (initialization): time 2.788e-05/0.002228, allocations: 33.7 kB / 0.6396 GB, free: 12.17 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/0.002239, allocations: 4 kB / 0.6396 GB, free: 12.16 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.002243, allocations: 4 kB / 0.6396 GB, free: 12.16 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.798e-06/0.002252, allocations: 0 / 0.6396 GB, free: 12.16 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.795e-05/0.00229, allocations: 0 / 0.6396 GB, free: 12.16 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.399e-06/0.002295, allocations: 3.984 kB / 0.6396 GB, free: 12.16 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.362e-06/0.002301, allocations: 0 / 0.6396 GB, free: 12.16 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.416e-06/0.002304, allocations: 4.094 kB / 0.6396 GB, free: 12.15 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 (1): * Single equations (assignments): 1 * 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.612e-05/0.002351, allocations: 117.8 kB / 0.6398 GB, free: 12.03 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.316e-06/0.002354, allocations: 3.938 kB / 0.6398 GB, free: 12.02 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.001e-05/0.002364, allocations: 3 kB / 0.6398 GB, free: 12.02 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.31e-07/0.002365, allocations: 0 / 0.6398 GB, free: 12.02 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.002366, allocations: 0 / 0.6398 GB, free: 12.02 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.00237, allocations: 4 kB / 0.6398 GB, free: 12.02 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.838e-05/0.002408, allocations: 61.84 kB / 0.6398 GB, free: 11.94 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-07/0.002408, allocations: 0 / 0.6398 GB, free: 11.94 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.546e-06/0.002412, allocations: 0 / 0.6398 GB, free: 11.94 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.002413, allocations: 8 kB / 0.6398 GB, free: 11.93 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.258e-06/0.002418, allocations: 4 kB / 0.6398 GB, free: 11.93 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.41e-07/0.002418, allocations: 0 / 0.6398 GB, free: 11.93 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-07/0.002418, allocations: 0 / 0.6398 GB, free: 11.93 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.763e-05/0.002456, allocations: 57.06 kB / 0.6399 GB, free: 11.86 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 6.192e-06/0.002462, allocations: 7.984 kB / 0.6399 GB, free: 11.85 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.809e-06/0.002467, allocations: 0 / 0.6399 GB, free: 11.85 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.955e-06/0.00247, allocations: 0 / 0.6399 GB, free: 11.85 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.414e-06/0.002477, allocations: 0 / 0.6399 GB, free: 11.85 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-06/0.002479, allocations: 3.984 kB / 0.6399 GB, free: 11.84 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 4.979e-06/0.002484, allocations: 8.797 kB / 0.6399 GB, free: 11.83 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.002484, allocations: 8.031 kB / 0.6399 GB, free: 11.82 MB / 0.6043 GB Notification: Performance of remove unused functions: time 8.585e-05/0.00257, allocations: 4 kB / 0.6399 GB, free: 11.82 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 (1): * Single equations (assignments): 1 * 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.286e-05/0.002633, allocations: 72.42 kB / 0.64 GB, free: 11.74 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 4.328e-05/0.002676, allocations: 8.859 kB / 0.64 GB, free: 11.73 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.002678, allocations: 0 / 0.64 GB, free: 11.73 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 5.169e-06/0.002683, allocations: 8.859 kB / 0.64 GB, free: 11.72 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 3.995e-05/0.002723, allocations: 7.875 kB / 0.64 GB, free: 11.71 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001639/0.002887, allocations: 86.41 kB / 0.6401 GB, free: 11.6 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.278e-05/0.00291, allocations: 51.36 kB / 0.6401 GB, free: 11.53 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 9.107e-06/0.002919, allocations: 4 kB / 0.6401 GB, free: 11.52 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.407e-05/0.002943, allocations: 51.31 kB / 0.6402 GB, free: 11.47 MB / 0.6043 GB Notification: Performance of SimCode: time 3.01e-07/0.002943, allocations: 0 / 0.6402 GB, free: 11.47 MB / 0.6043 GB Notification: Performance of Templates: time 0.001309/0.004252, allocations: 208.7 kB / 0.6404 GB, free: 11.27 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.304030215833336]