Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Exp.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.0007372/0.0007372, 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.0007874/0.0007874, 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.8467/0.8467, allocations: 177.1 MB / 203.7 MB, free: 5.707 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.03501/0.03501, allocations: 9.123 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.0003905/0.0003905, allocations: 23.95 kB / 328.7 MB, free: 20.61 MB / 266.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.468/1.468, allocations: 275 MB / 0.6476 GB, free: 2.496 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.Exp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Exp") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.Exp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Exp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 0.9295 GB, free: 8.066 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.776e-05/1.918e-05, allocations: 2.281 kB / 0.9295 GB, free: 8.062 MB / 0.698 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Exp): time 0.001128/0.001147, allocations: 0.6576 MB / 0.9302 GB, free: 7.43 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0007055/0.001853, allocations: 0.8482 MB / 0.931 GB, free: 6.57 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.56e-05/0.001888, allocations: 0 / 0.931 GB, free: 6.57 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.316e-05/0.001911, allocations: 0.5625 kB / 0.931 GB, free: 6.57 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.24e-05/0.001974, allocations: 10.75 kB / 0.931 GB, free: 6.562 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001676/0.002141, allocations: 11.98 kB / 0.931 GB, free: 6.551 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 6.119e-05/0.002203, allocations: 23.92 kB / 0.931 GB, free: 6.527 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 7.863e-05/0.002281, allocations: 4 kB / 0.931 GB, free: 6.523 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 6.386e-05/0.002345, allocations: 11.98 kB / 0.931 GB, free: 6.512 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 2.914e-05/0.002374, allocations: 4 kB / 0.9311 GB, free: 6.508 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.379e-05/0.002388, allocations: 0 / 0.9311 GB, free: 6.508 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 3.941e-05/0.002427, allocations: 15.97 kB / 0.9311 GB, free: 6.492 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.244e-05/0.00244, allocations: 9.125 kB / 0.9311 GB, free: 6.484 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.574e-05/0.002456, allocations: 4 kB / 0.9311 GB, free: 6.48 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 8.812e-05/0.002544, allocations: 27.89 kB / 0.9311 GB, free: 6.453 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.002545, allocations: 0.5938 kB / 0.9311 GB, free: 6.453 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.292e-06/0.002547, allocations: 0 / 0.9311 GB, free: 6.453 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.446e-06/0.00255, allocations: 1.031 kB / 0.9311 GB, free: 6.453 MB / 0.698 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.0003378/0.002888, allocations: 264.5 kB / 0.9314 GB, free: 6.164 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.002924, allocations: 11.98 kB / 0.9314 GB, free: 6.152 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.133e-05/0.002996, allocations: 5.844 kB / 0.9314 GB, free: 6.148 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.862e-05/0.003074, allocations: 113.7 kB / 0.9315 GB, free: 6.012 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.973e-06/0.003081, allocations: 4.312 kB / 0.9315 GB, free: 6.008 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.598e-06/0.003091, allocations: 2.625 kB / 0.9315 GB, free: 6.008 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001206/0.003211, allocations: 50.23 kB / 0.9315 GB, free: 5.953 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.003219, allocations: 192 / 0.9315 GB, free: 5.953 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.003227, allocations: 384 / 0.9315 GB, free: 5.953 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.003232, allocations: 4.375 kB / 0.9315 GB, free: 5.949 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.587e-05/0.003318, allocations: 37.02 kB / 0.9316 GB, free: 5.914 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002314/0.003549, allocations: 197.4 kB / 0.9318 GB, free: 5.691 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.397e-05/0.003623, allocations: 36.03 kB / 0.9318 GB, free: 5.648 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.764e-05/0.003671, allocations: 28.89 kB / 0.9318 GB, free: 5.617 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.88e-05/0.003689, allocations: 3.938 kB / 0.9318 GB, free: 5.613 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.827e-05/0.003708, allocations: 31.16 kB / 0.9319 GB, free: 5.574 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 7.01e-07/0.003708, allocations: 0.6875 kB / 0.9319 GB, free: 5.574 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.000212/0.00392, allocations: 88.45 kB / 0.932 GB, free: 5.484 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.022e-05/0.003941, allocations: 55.34 kB / 0.932 GB, free: 5.418 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.56e-05/0.003996, allocations: 101.9 kB / 0.9321 GB, free: 5.309 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.937e-06/0.004005, allocations: 25.7 kB / 0.9321 GB, free: 5.277 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.137e-05/0.004037, allocations: 84.12 kB / 0.9322 GB, free: 5.191 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.561e-05/0.004052, allocations: 7.891 kB / 0.9322 GB, free: 5.184 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.241e-05/0.004075, allocations: 18.75 kB / 0.9322 GB, free: 5.16 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.644e-05/0.004141, allocations: 310.8 kB / 0.9325 GB, free: 4.848 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.002e-05/0.004181, allocations: 20.48 kB / 0.9325 GB, free: 4.828 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.547e-05/0.004216, allocations: 18.34 kB / 0.9326 GB, free: 4.812 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.482e-05/0.004291, allocations: 36.83 kB / 0.9326 GB, free: 4.773 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.004293, allocations: 3.562 kB / 0.9326 GB, free: 4.773 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.868e-05/0.004391, allocations: 65.59 kB / 0.9327 GB, free: 4.703 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.004403, allocations: 8 kB / 0.9327 GB, free: 4.695 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.004407, allocations: 0 / 0.9327 GB, free: 4.695 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.004418, allocations: 3.938 kB / 0.9327 GB, free: 4.691 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.195e-05/0.00447, allocations: 7.984 kB / 0.9327 GB, free: 4.684 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.004478, allocations: 4 kB / 0.9327 GB, free: 4.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.123e-05/0.004499, allocations: 6.562 kB / 0.9327 GB, free: 4.676 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.563e-06/0.004506, allocations: 8 kB / 0.9327 GB, free: 4.668 MB / 0.698 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 4.644e-05/0.004552, allocations: 109.8 kB / 0.9328 GB, free: 4.551 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.583e-05/0.004568, allocations: 7.953 kB / 0.9328 GB, free: 4.543 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001254/0.004693, allocations: 70.91 kB / 0.9329 GB, free: 4.473 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.004697, allocations: 7.875 kB / 0.9329 GB, free: 4.465 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.004698, allocations: 0 / 0.9329 GB, free: 4.465 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.37e-06/0.004703, allocations: 4 kB / 0.9329 GB, free: 4.461 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.117e-06/0.004712, allocations: 0 / 0.9329 GB, free: 4.461 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.93e-05/0.004752, allocations: 12.23 kB / 0.9329 GB, free: 4.449 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.29e-05/0.004785, allocations: 0 / 0.9329 GB, free: 4.449 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001182/0.004903, allocations: 148.9 kB / 0.933 GB, free: 4.297 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001317/0.005035, allocations: 234.8 kB / 0.9333 GB, free: 4.051 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.873e-05/0.005083, allocations: 24.16 kB / 0.9333 GB, free: 4.027 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.541e-05/0.005109, allocations: 91.27 kB / 0.9334 GB, free: 3.938 MB / 0.698 GB Notification: Performance of Backend: time 4.11e-07/0.005109, allocations: 0 / 0.9334 GB, free: 3.938 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002725/0.005382, allocations: 95.62 kB / 0.9335 GB, free: 3.84 MB / 0.698 GB Notification: Performance of SimCode: time 0.0003485/0.00573, allocations: 0.5535 MB / 0.934 GB, free: 3.238 MB / 0.698 GB Notification: Performance of Templates: time 0.001902/0.007633, allocations: 0.6194 MB / 0.9346 GB, free: 2.633 MB / 0.698 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Exp.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Exp.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Exp -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.507726484909654] Failed to read output from testmodel.py, exit status != 0: 0.012818321585655212 0.020254899 0.016105588 Calling exit ...