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/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.0007604/0.0007604, allocations: 79.69 kB / 20.03 MB, free: 4.492 MB / 18.57 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.0008983/0.0008983, allocations: 165.3 kB / 23.33 MB, free: 1.191 MB / 18.57 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.8675/0.8675, allocations: 177.1 MB / 203.7 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] 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.03737/0.03737, allocations: 9.115 MB / 269.2 MB, free: 4.445 MB / 250.7 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/SDF master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004085/0.0004085, allocations: 23.91 kB / 328.7 MB, free: 5.793 MB / 298.7 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/AixLib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo): time 1.487/1.487, allocations: 274.9 MB / 0.6476 GB, free: 2.824 MB / 0.4949 GB [/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 178] Using package AixLib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/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) 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) 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.643e-06/1.643e-06, allocations: 0 / 0.9295 GB, free: 20.94 MB / 0.7293 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.284e-05/2.449e-05, allocations: 2.281 kB / 0.9295 GB, free: 20.94 MB / 0.7293 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.00106/0.001084, allocations: 0.5719 MB / 0.9301 GB, free: 20.59 MB / 0.7293 GB Notification: Performance of NFInst.instExpressions: time 3.82e-05/0.001123, allocations: 0 / 0.9301 GB, free: 20.59 MB / 0.7293 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.853e-05/0.001141, allocations: 0 / 0.9301 GB, free: 20.59 MB / 0.7293 GB Notification: Performance of NFTyping.typeComponents: time 2.607e-05/0.001167, allocations: 1.125 kB / 0.9301 GB, free: 20.59 MB / 0.7293 GB Notification: Performance of NFTyping.typeBindings: time 2.627e-05/0.001194, allocations: 4.594 kB / 0.9301 GB, free: 20.59 MB / 0.7293 GB Notification: Performance of NFTyping.typeClassSections: time 3.002e-05/0.001224, allocations: 0 / 0.9301 GB, free: 20.59 MB / 0.7293 GB Notification: Performance of NFFlatten.flatten: time 5.13e-05/0.001275, allocations: 1.375 kB / 0.9301 GB, free: 20.59 MB / 0.7293 GB Notification: Performance of NFFlatten.resolveConnections: time 4.142e-05/0.001316, allocations: 1.922 kB / 0.9301 GB, free: 20.59 MB / 0.7293 GB Notification: Performance of NFEvalConstants.evaluate: time 3.364e-05/0.00135, allocations: 1.875 kB / 0.9301 GB, free: 20.59 MB / 0.7293 GB Notification: Performance of NFSimplifyModel.simplify: time 2.011e-05/0.00137, allocations: 0 / 0.9301 GB, free: 20.59 MB / 0.7293 GB Notification: Performance of NFPackage.collectConstants: time 1.251e-05/0.001383, allocations: 5.125 kB / 0.9301 GB, free: 20.58 MB / 0.7293 GB Notification: Performance of NFFlatten.collectFunctions: time 3.787e-06/0.001386, allocations: 0 / 0.9301 GB, free: 20.58 MB / 0.7293 GB Notification: Performance of NFScalarize.scalarize: time 1.121e-05/0.001398, allocations: 0 / 0.9301 GB, free: 20.58 MB / 0.7293 GB Notification: Performance of NFVerifyModel.verify: time 1.71e-05/0.001415, allocations: 5.188 kB / 0.9301 GB, free: 20.58 MB / 0.7293 GB Notification: Performance of NFConvertDAE.convert: time 5.269e-05/0.001467, allocations: 2.391 kB / 0.9301 GB, free: 20.58 MB / 0.7293 GB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.001469, allocations: 0 / 0.9301 GB, free: 20.58 MB / 0.7293 GB Notification: Performance of FrontEnd: time 6.01e-07/0.00147, allocations: 0 / 0.9301 GB, free: 20.58 MB / 0.7293 GB Notification: Performance of Transformations before backend: time 3.256e-06/0.001473, allocations: 0 / 0.9301 GB, free: 20.58 MB / 0.7293 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.0001797/0.001653, allocations: 233 kB / 0.9303 GB, free: 20.32 MB / 0.7293 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.001692, allocations: 13.08 kB / 0.9303 GB, free: 20.32 MB / 0.7293 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.311e-05/0.001715, allocations: 1.547 kB / 0.9303 GB, free: 20.32 MB / 0.7293 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.617e-05/0.001752, allocations: 116 kB / 0.9304 GB, free: 20.18 MB / 0.7293 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.919e-06/0.001761, allocations: 2.062 kB / 0.9304 GB, free: 20.18 MB / 0.7293 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.608e-06/0.001771, allocations: 4.312 kB / 0.9304 GB, free: 20.18 MB / 0.7293 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.248e-05/0.001844, allocations: 31.98 kB / 0.9305 GB, free: 20.14 MB / 0.7293 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.001851, allocations: 0.7969 kB / 0.9305 GB, free: 20.14 MB / 0.7293 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.804e-06/0.001859, allocations: 384 / 0.9305 GB, free: 20.14 MB / 0.7293 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.001863, allocations: 1.594 kB / 0.9305 GB, free: 20.14 MB / 0.7293 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.6e-05/0.001879, allocations: 5 kB / 0.9305 GB, free: 20.14 MB / 0.7293 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.278e-05/0.001952, allocations: 100.2 kB / 0.9306 GB, free: 20.02 MB / 0.7293 GB Notification: Performance of preOpt comSubExp (simulation): time 2.95e-05/0.001982, allocations: 20.7 kB / 0.9306 GB, free: 19.99 MB / 0.7293 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.814e-05/0.002, allocations: 11.97 kB / 0.9306 GB, free: 19.98 MB / 0.7293 GB Notification: Performance of preOpt evalFunc (simulation): time 9.628e-06/0.002009, allocations: 1.062 kB / 0.9306 GB, free: 19.98 MB / 0.7293 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.486e-05/0.002024, allocations: 36.67 kB / 0.9306 GB, free: 19.93 MB / 0.7293 GB Notification: Performance of pre-optimization done (n=1): time 5.51e-07/0.002025, allocations: 0 / 0.9306 GB, free: 19.93 MB / 0.7293 GB Notification: Performance of matching and sorting (n=1): time 0.0001053/0.00213, allocations: 35.34 kB / 0.9307 GB, free: 19.9 MB / 0.7293 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.274e-05/0.002143, allocations: 52.06 kB / 0.9307 GB, free: 19.84 MB / 0.7293 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.041e-05/0.002153, allocations: 90.89 kB / 0.9308 GB, free: 19.74 MB / 0.7293 GB Notification: Performance of collectPreVariables (initialization): time 4.218e-06/0.002157, allocations: 25.7 kB / 0.9308 GB, free: 19.71 MB / 0.7293 GB Notification: Performance of collectInitialEqns (initialization): time 5.841e-06/0.002163, allocations: 85.08 kB / 0.9309 GB, free: 19.62 MB / 0.7293 GB Notification: Performance of collectInitialBindings (initialization): time 2.804e-05/0.002191, allocations: 8.734 kB / 0.9309 GB, free: 19.61 MB / 0.7293 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.731e-05/0.002209, allocations: 16.19 kB / 0.9309 GB, free: 19.59 MB / 0.7293 GB Notification: Performance of setup shared object (initialization): time 2.542e-05/0.002234, allocations: 316.3 kB / 0.9312 GB, free: 19.28 MB / 0.7293 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.674e-06/0.002242, allocations: 1.984 kB / 0.9313 GB, free: 19.28 MB / 0.7293 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.519e-06/0.002246, allocations: 1.062 kB / 0.9313 GB, free: 19.28 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.056e-05/0.002267, allocations: 8.484 kB / 0.9313 GB, free: 19.27 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.002269, allocations: 0 / 0.9313 GB, free: 19.27 MB / 0.7293 GB Notification: Performance of matching and sorting (n=1) (initialization): time 2.92e-05/0.002298, allocations: 36.83 kB / 0.9313 GB, free: 19.23 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.00231, allocations: 4.719 kB / 0.9313 GB, free: 19.23 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.002314, allocations: 4.094 kB / 0.9313 GB, free: 19.23 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.002327, allocations: 0 / 0.9313 GB, free: 19.23 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.693e-05/0.002374, allocations: 6.297 kB / 0.9313 GB, free: 19.23 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.002382, allocations: 5.797 kB / 0.9313 GB, free: 19.22 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.294e-06/0.002389, allocations: 0.6562 kB / 0.9313 GB, free: 19.22 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.002394, allocations: 7.938 kB / 0.9313 GB, free: 19.21 MB / 0.7293 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 3.491e-05/0.002429, allocations: 113.2 kB / 0.9314 GB, free: 19.1 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.645e-06/0.002432, allocations: 0 / 0.9314 GB, free: 19.1 MB / 0.7293 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.261e-05/0.002444, allocations: 3.75 kB / 0.9314 GB, free: 19.1 MB / 0.7293 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.002447, allocations: 1.281 kB / 0.9314 GB, free: 19.1 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.002448, allocations: 4.562 kB / 0.9314 GB, free: 19.09 MB / 0.7293 GB Notification: Performance of postOpt removeConstants (simulation): time 5.731e-06/0.002454, allocations: 6.062 kB / 0.9314 GB, free: 19.09 MB / 0.7293 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.797e-06/0.002462, allocations: 3.938 kB / 0.9314 GB, free: 19.09 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.208e-06/0.002467, allocations: 1.938 kB / 0.9315 GB, free: 19.09 MB / 0.7293 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.455e-05/0.002481, allocations: 0 / 0.9315 GB, free: 19.09 MB / 0.7293 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 3.297e-05/0.002514, allocations: 114.1 kB / 0.9316 GB, free: 18.97 MB / 0.7293 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 4.104e-05/0.002555, allocations: 212.2 kB / 0.9318 GB, free: 18.76 MB / 0.7293 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.312e-05/0.002568, allocations: 5.156 kB / 0.9318 GB, free: 18.75 MB / 0.7293 GB Notification: Performance of sorting global known variables: time 8.796e-06/0.002577, allocations: 76.31 kB / 0.9318 GB, free: 18.68 MB / 0.7293 GB Notification: Performance of Backend: time 3.41e-07/0.002577, allocations: 64 / 0.9318 GB, free: 18.68 MB / 0.7293 GB Notification: Performance of simCode: created initialization part: time 0.0002021/0.002779, allocations: 84.06 kB / 0.9319 GB, free: 18.61 MB / 0.7293 GB Notification: Performance of SimCode: time 0.0002201/0.003, allocations: 0.5304 MB / 0.9324 GB, free: 18.04 MB / 0.7293 GB Notification: Performance of Templates: time 0.001363/0.004363, allocations: 199.8 kB / 0.9326 GB, free: 18 MB / 0.7293 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=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.630696593783796] Failed to read output from testmodel.py, exit status != 0: 0.009206222370266914 0.017539684 0.014404219000000001 Calling exit ...