Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Log.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.0007479/0.0007479, allocations: 75.69 kB / 20.03 MB, free: 4.496 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.000793/0.000793, allocations: 169.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.8606/0.8606, allocations: 177.1 MB / 203.6 MB, free: 5.715 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.03421/0.03421, allocations: 9.13 MB / 269.2 MB, free: 4.438 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.00043/0.00043, allocations: 39.81 kB / 328.7 MB, free: 5.789 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.509/1.509, 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.Validation.Log,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Log") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.Log,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Log") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.073e-06/2.073e-06, allocations: 0 / 0.9295 GB, free: 20.91 MB / 0.7293 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.09e-05/2.297e-05, allocations: 2.281 kB / 0.9295 GB, free: 20.91 MB / 0.7293 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Log): time 0.001087/0.00111, allocations: 0.653 MB / 0.9302 GB, free: 20.5 MB / 0.7293 GB Notification: Performance of NFInst.instExpressions: time 0.0006487/0.001758, allocations: 0.8454 MB / 0.931 GB, free: 19.87 MB / 0.7293 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.392e-05/0.001792, allocations: 0 / 0.931 GB, free: 19.87 MB / 0.7293 GB Notification: Performance of NFTyping.typeComponents: time 2.221e-05/0.001815, allocations: 0 / 0.931 GB, free: 19.87 MB / 0.7293 GB Notification: Performance of NFTyping.typeBindings: time 6.049e-05/0.001875, allocations: 13.16 kB / 0.931 GB, free: 19.86 MB / 0.7293 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001664/0.002041, allocations: 14.52 kB / 0.931 GB, free: 19.85 MB / 0.7293 GB Notification: Performance of NFFlatten.flatten: time 6.158e-05/0.002103, allocations: 20.17 kB / 0.931 GB, free: 19.84 MB / 0.7293 GB Notification: Performance of NFFlatten.resolveConnections: time 7.853e-05/0.002182, allocations: 10.66 kB / 0.931 GB, free: 19.83 MB / 0.7293 GB Notification: Performance of NFEvalConstants.evaluate: time 6.827e-05/0.00225, allocations: 12.03 kB / 0.9311 GB, free: 19.83 MB / 0.7293 GB Notification: Performance of NFSimplifyModel.simplify: time 3.156e-05/0.002281, allocations: 5.203 kB / 0.9311 GB, free: 19.83 MB / 0.7293 GB Notification: Performance of NFPackage.collectConstants: time 1.345e-05/0.002295, allocations: 1.438 kB / 0.9311 GB, free: 19.83 MB / 0.7293 GB Notification: Performance of NFFlatten.collectFunctions: time 3.88e-05/0.002334, allocations: 9.891 kB / 0.9311 GB, free: 19.82 MB / 0.7293 GB Notification: Performance of NFScalarize.scalarize: time 1.271e-05/0.002346, allocations: 0.6094 kB / 0.9311 GB, free: 19.82 MB / 0.7293 GB Notification: Performance of NFVerifyModel.verify: time 1.826e-05/0.002365, allocations: 12.2 kB / 0.9311 GB, free: 19.82 MB / 0.7293 GB Notification: Performance of NFConvertDAE.convert: time 9.479e-05/0.002459, allocations: 32.05 kB / 0.9311 GB, free: 19.8 MB / 0.7293 GB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.002461, allocations: 0 / 0.9311 GB, free: 19.8 MB / 0.7293 GB Notification: Performance of FrontEnd: time 1.213e-06/0.002462, allocations: 0 / 0.9311 GB, free: 19.8 MB / 0.7293 GB Notification: Performance of Transformations before backend: time 3.317e-06/0.002466, allocations: 0.9062 kB / 0.9311 GB, free: 19.8 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003104/0.002776, allocations: 263.8 kB / 0.9314 GB, free: 19.53 MB / 0.7293 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.002814, allocations: 12.95 kB / 0.9314 GB, free: 19.53 MB / 0.7293 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.8e-05/0.002882, allocations: 4.375 kB / 0.9314 GB, free: 19.53 MB / 0.7293 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.383e-05/0.002946, allocations: 109.5 kB / 0.9315 GB, free: 19.4 MB / 0.7293 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.975e-06/0.002954, allocations: 1.031 kB / 0.9315 GB, free: 19.4 MB / 0.7293 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.071e-05/0.002964, allocations: 1.531 kB / 0.9315 GB, free: 19.4 MB / 0.7293 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.003084, allocations: 52.64 kB / 0.9315 GB, free: 19.36 MB / 0.7293 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.003093, allocations: 4.828 kB / 0.9315 GB, free: 19.36 MB / 0.7293 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.236e-06/0.003101, allocations: 1.688 kB / 0.9315 GB, free: 19.36 MB / 0.7293 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.003105, allocations: 384 / 0.9315 GB, free: 19.36 MB / 0.7293 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.749e-05/0.003203, allocations: 41.78 kB / 0.9316 GB, free: 19.34 MB / 0.7293 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002188/0.003422, allocations: 192.9 kB / 0.9318 GB, free: 19.14 MB / 0.7293 GB Notification: Performance of preOpt comSubExp (simulation): time 7.763e-05/0.003499, allocations: 36.88 kB / 0.9318 GB, free: 19.11 MB / 0.7293 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.713e-05/0.003546, allocations: 28.16 kB / 0.9318 GB, free: 19.09 MB / 0.7293 GB Notification: Performance of preOpt evalFunc (simulation): time 1.799e-05/0.003564, allocations: 0 / 0.9318 GB, free: 19.09 MB / 0.7293 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.503e-05/0.003579, allocations: 33.11 kB / 0.9319 GB, free: 19.05 MB / 0.7293 GB Notification: Performance of pre-optimization done (n=2): time 6.11e-07/0.00358, allocations: 0 / 0.9319 GB, free: 19.05 MB / 0.7293 GB Notification: Performance of matching and sorting (n=2): time 0.0002161/0.003796, allocations: 92.03 kB / 0.932 GB, free: 19 MB / 0.7293 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.399e-05/0.00381, allocations: 52.97 kB / 0.932 GB, free: 18.94 MB / 0.7293 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.668e-05/0.003857, allocations: 105.4 kB / 0.9321 GB, free: 18.84 MB / 0.7293 GB Notification: Performance of collectPreVariables (initialization): time 5.239e-06/0.003862, allocations: 25.7 kB / 0.9321 GB, free: 18.8 MB / 0.7293 GB Notification: Performance of collectInitialEqns (initialization): time 2.147e-05/0.003883, allocations: 82.19 kB / 0.9322 GB, free: 18.72 MB / 0.7293 GB Notification: Performance of collectInitialBindings (initialization): time 1.614e-05/0.0039, allocations: 9.266 kB / 0.9322 GB, free: 18.71 MB / 0.7293 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.163e-05/0.003921, allocations: 17.12 kB / 0.9322 GB, free: 18.7 MB / 0.7293 GB Notification: Performance of setup shared object (initialization): time 2.925e-05/0.00395, allocations: 313.6 kB / 0.9325 GB, free: 18.38 MB / 0.7293 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.226e-05/0.003993, allocations: 13.03 kB / 0.9325 GB, free: 18.38 MB / 0.7293 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.735e-05/0.00403, allocations: 17.89 kB / 0.9326 GB, free: 18.38 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.934e-05/0.004109, allocations: 42.44 kB / 0.9326 GB, free: 18.36 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.004111, allocations: 0 / 0.9326 GB, free: 18.36 MB / 0.7293 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001056/0.004217, allocations: 67.11 kB / 0.9327 GB, free: 18.32 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.004229, allocations: 5.125 kB / 0.9327 GB, free: 18.32 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.004233, allocations: 1.375 kB / 0.9327 GB, free: 18.32 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.004245, allocations: 3.938 kB / 0.9327 GB, free: 18.32 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.964e-05/0.004305, allocations: 8.594 kB / 0.9327 GB, free: 18.32 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.004312, allocations: 5.25 kB / 0.9327 GB, free: 18.32 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.359e-05/0.004336, allocations: 6.188 kB / 0.9327 GB, free: 18.32 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.439e-06/0.00434, allocations: 0.9062 kB / 0.9327 GB, free: 18.32 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 (2): * Single equations (assignments): 2 * 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.381e-05/0.004374, allocations: 113.3 kB / 0.9328 GB, free: 18.2 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.296e-05/0.004387, allocations: 5.922 kB / 0.9328 GB, free: 18.2 MB / 0.7293 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001223/0.004509, allocations: 67.38 kB / 0.9329 GB, free: 18.16 MB / 0.7293 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.004512, allocations: 8.438 kB / 0.9329 GB, free: 18.15 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.004513, allocations: 4.031 kB / 0.9329 GB, free: 18.15 MB / 0.7293 GB Notification: Performance of postOpt removeConstants (simulation): time 5.981e-06/0.004519, allocations: 6.25 kB / 0.9329 GB, free: 18.14 MB / 0.7293 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.007e-06/0.004528, allocations: 6.016 kB / 0.9329 GB, free: 18.14 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.676e-05/0.004565, allocations: 5.984 kB / 0.9329 GB, free: 18.14 MB / 0.7293 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.379e-05/0.004599, allocations: 2.438 kB / 0.9329 GB, free: 18.14 MB / 0.7293 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001083/0.004707, allocations: 143.4 kB / 0.933 GB, free: 18.03 MB / 0.7293 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001099/0.004817, allocations: 246.5 kB / 0.9333 GB, free: 17.81 MB / 0.7293 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.787e-05/0.004865, allocations: 15.95 kB / 0.9333 GB, free: 17.81 MB / 0.7293 GB Notification: Performance of sorting global known variables: time 1.484e-05/0.00488, allocations: 87.66 kB / 0.9334 GB, free: 17.73 MB / 0.7293 GB Notification: Performance of Backend: time 1.1e-07/0.00488, allocations: 0 / 0.9334 GB, free: 17.73 MB / 0.7293 GB Notification: Performance of simCode: created initialization part: time 0.0002775/0.005157, allocations: 96.3 kB / 0.9335 GB, free: 17.66 MB / 0.7293 GB Notification: Performance of SimCode: time 0.0002762/0.005434, allocations: 0.5553 MB / 0.934 GB, free: 17.08 MB / 0.7293 GB Notification: Performance of Templates: time 0.002053/0.007487, allocations: 0.648 MB / 0.9346 GB, free: 17 MB / 0.7293 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Log.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Log.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Log -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.756602633744478] Failed to read output from testmodel.py, exit status != 0: 0.011863823980093002 0.019825301 0.015738508000000002 Calling exit ...