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.04949/0.04949, allocations: 9.129 MB / 28.99 MB, free: 0.8281 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.001248/0.001248, allocations: 87.28 kB / 35.33 MB, free: 1.09 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.001093/0.001093, allocations: 164.9 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.005/1.005, allocations: 177.1 MB / 219.2 MB, free: 10.12 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.003894/0.003894, allocations: 0.8292 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.626/1.626, allocations: 274.9 MB / 0.5419 GB, free: 0.6406 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 3.176e-06/3.176e-06, allocations: 0 / 0.6379 GB, free: 14.07 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.346e-05/3.664e-05, allocations: 6.312 kB / 0.6379 GB, free: 14.06 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.002671/0.002707, allocations: 0.6433 MB / 0.6386 GB, free: 13.42 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 6.313e-05/0.00277, allocations: 4 kB / 0.6386 GB, free: 13.42 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.127e-05/0.002792, allocations: 0 / 0.6386 GB, free: 13.42 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 3.37e-05/0.002825, allocations: 0 / 0.6386 GB, free: 13.42 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 3.585e-05/0.002861, allocations: 0 / 0.6386 GB, free: 13.42 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 4.341e-05/0.002905, allocations: 4 kB / 0.6386 GB, free: 13.41 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 5.636e-05/0.002961, allocations: 3.938 kB / 0.6386 GB, free: 13.41 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 5.327e-05/0.003014, allocations: 7.969 kB / 0.6386 GB, free: 13.4 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 4.089e-05/0.003055, allocations: 4 kB / 0.6386 GB, free: 13.4 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 2.82e-05/0.003083, allocations: 4 kB / 0.6386 GB, free: 13.39 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.257e-05/0.003096, allocations: 0 / 0.6386 GB, free: 13.39 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 4.358e-06/0.0031, allocations: 0 / 0.6386 GB, free: 13.39 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.444e-05/0.003115, allocations: 0 / 0.6386 GB, free: 13.39 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 1.503e-05/0.00313, allocations: 0 / 0.6386 GB, free: 13.39 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 8.299e-05/0.003213, allocations: 0 / 0.6386 GB, free: 13.39 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.003219, allocations: 3.938 kB / 0.6386 GB, free: 13.39 MB / 0.6043 GB Notification: Performance of FrontEnd: time 2.054e-06/0.003221, allocations: 0 / 0.6386 GB, free: 13.39 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.003228, allocations: 0 / 0.6386 GB, free: 13.39 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.0002373/0.003465, allocations: 212.8 kB / 0.6388 GB, free: 13.16 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.003512, allocations: 19.97 kB / 0.6388 GB, free: 13.14 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.433e-05/0.003537, allocations: 0.9375 kB / 0.6388 GB, free: 13.14 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.765e-05/0.003604, allocations: 101.8 kB / 0.6389 GB, free: 13.01 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.003618, allocations: 4.375 kB / 0.6389 GB, free: 13.01 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.491e-06/0.003623, allocations: 384 / 0.6389 GB, free: 13.01 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.252e-05/0.003696, allocations: 26.27 kB / 0.6389 GB, free: 12.98 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.003705, allocations: 192 / 0.6389 GB, free: 12.98 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.671e-06/0.00371, allocations: 384 / 0.6389 GB, free: 12.98 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.003716, allocations: 384 / 0.6389 GB, free: 12.98 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.081e-05/0.003727, allocations: 7.938 kB / 0.6389 GB, free: 12.97 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.452e-05/0.003811, allocations: 61.31 kB / 0.639 GB, free: 12.89 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 4.104e-05/0.003852, allocations: 22.61 kB / 0.639 GB, free: 12.86 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.922e-05/0.003872, allocations: 8.844 kB / 0.639 GB, free: 12.85 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 5.921e-06/0.003878, allocations: 0 / 0.639 GB, free: 12.85 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.0039, allocations: 34.62 kB / 0.6391 GB, free: 12.81 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=1): time 8.02e-07/0.003901, allocations: 0 / 0.6391 GB, free: 12.81 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1): time 9.551e-05/0.003996, allocations: 41.58 kB / 0.6391 GB, free: 12.76 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.321e-05/0.00403, allocations: 51.41 kB / 0.6392 GB, free: 12.7 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.229e-05/0.004062, allocations: 89.86 kB / 0.6392 GB, free: 12.6 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.164e-05/0.004073, allocations: 25.7 kB / 0.6393 GB, free: 12.57 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 2.253e-05/0.004096, allocations: 84.27 kB / 0.6393 GB, free: 12.48 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 3.044e-05/0.004126, allocations: 7.953 kB / 0.6394 GB, free: 12.48 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.782e-05/0.004154, allocations: 9.719 kB / 0.6394 GB, free: 12.46 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 8.956e-05/0.004244, allocations: 318.8 kB / 0.6397 GB, free: 12.14 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.556e-06/0.004252, allocations: 4 kB / 0.6397 GB, free: 12.14 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.931e-06/0.004258, allocations: 0 / 0.6397 GB, free: 12.14 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.773e-05/0.004286, allocations: 8.859 kB / 0.6397 GB, free: 12.12 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.004288, allocations: 0 / 0.6397 GB, free: 12.12 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.209e-05/0.00434, allocations: 33.64 kB / 0.6397 GB, free: 12.09 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.004355, allocations: 8.094 kB / 0.6397 GB, free: 12.08 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.00436, allocations: 0 / 0.6397 GB, free: 12.08 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.004373, allocations: 0 / 0.6397 GB, free: 12.08 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.327e-05/0.004426, allocations: 4 kB / 0.6397 GB, free: 12.07 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.958e-06/0.00443, allocations: 3.984 kB / 0.6397 GB, free: 12.07 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.678e-06/0.00444, allocations: 0 / 0.6397 GB, free: 12.07 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-06/0.004444, allocations: 0 / 0.6397 GB, free: 12.07 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 5.843e-05/0.004503, allocations: 109.8 kB / 0.6398 GB, free: 11.95 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.466e-06/0.004511, allocations: 4 kB / 0.6398 GB, free: 11.95 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.572e-05/0.004527, allocations: 11 kB / 0.6398 GB, free: 11.94 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.004529, allocations: 4 kB / 0.6399 GB, free: 11.94 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-06/0.00453, allocations: 0 / 0.6399 GB, free: 11.94 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.004533, allocations: 0 / 0.6399 GB, free: 11.94 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.355e-05/0.004586, allocations: 65.83 kB / 0.6399 GB, free: 11.86 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.004589, allocations: 4 kB / 0.6399 GB, free: 11.85 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.184e-05/0.004601, allocations: 0 / 0.6399 GB, free: 11.85 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.004604, allocations: 3.984 kB / 0.6399 GB, free: 11.85 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.727e-06/0.004608, allocations: 0 / 0.6399 GB, free: 11.85 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.004609, allocations: 0 / 0.6399 GB, free: 11.85 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.00461, allocations: 0 / 0.6399 GB, free: 11.85 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.84e-05/0.004678, allocations: 61.02 kB / 0.64 GB, free: 11.77 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 6.553e-06/0.004685, allocations: 8.016 kB / 0.64 GB, free: 11.76 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.043e-06/0.004692, allocations: 0 / 0.64 GB, free: 11.76 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.365e-06/0.0047, allocations: 11.92 kB / 0.64 GB, free: 11.75 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.759e-06/0.00471, allocations: 0 / 0.64 GB, free: 11.75 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.404e-06/0.004712, allocations: 0 / 0.64 GB, free: 11.75 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 6.763e-06/0.004719, allocations: 4.859 kB / 0.64 GB, free: 11.74 MB / 0.6043 GB Notification: Performance of sort global known variables: time 8e-08/0.004719, allocations: 0 / 0.64 GB, free: 11.74 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001326/0.004852, allocations: 0 / 0.64 GB, free: 11.74 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 0.0001222/0.004974, allocations: 76.42 kB / 0.6401 GB, free: 11.66 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 5.874e-05/0.005033, allocations: 12.86 kB / 0.6401 GB, free: 11.64 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.005036, allocations: 0 / 0.6401 GB, free: 11.64 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 7.574e-06/0.005043, allocations: 12.8 kB / 0.6401 GB, free: 11.63 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.757e-05/0.005111, allocations: 11.88 kB / 0.6401 GB, free: 11.62 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002244/0.005335, allocations: 82.28 kB / 0.6402 GB, free: 11.51 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.157e-05/0.005367, allocations: 51.36 kB / 0.6402 GB, free: 11.44 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 1.289e-05/0.00538, allocations: 0 / 0.6402 GB, free: 11.44 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.086e-05/0.00541, allocations: 47.38 kB / 0.6403 GB, free: 11.39 MB / 0.6043 GB Notification: Performance of SimCode: time 9.22e-07/0.005411, allocations: 0 / 0.6403 GB, free: 11.39 MB / 0.6043 GB Notification: Performance of Templates: time 0.001848/0.00726, allocations: 213 kB / 0.6405 GB, free: 11.18 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.387579567730427]