Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Modulo.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.0007868/0.0007868, allocations: 79.69 kB / 20.03 MB, free: 4.488 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.0008389/0.0008389, allocations: 165.3 kB / 23.33 MB, free: 1.188 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.8461/0.8461, allocations: 177.1 MB / 203.6 MB, free: 5.699 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.03431/0.03431, allocations: 9.115 MB / 269.2 MB, free: 4.441 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.0004018/0.0004018, allocations: 27.88 kB / 328.7 MB, free: 20.59 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.462/1.462, allocations: 275 MB / 0.6476 GB, free: 2.48 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.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Modulo") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Modulo") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.9295 GB, free: 8.039 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.835e-05/1.984e-05, allocations: 2.281 kB / 0.9295 GB, free: 8.035 MB / 0.698 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001591/0.001611, allocations: 0.6863 MB / 0.9302 GB, free: 7.367 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00103/0.002641, allocations: 0.8986 MB / 0.9311 GB, free: 6.457 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.66e-05/0.002677, allocations: 0.5938 kB / 0.9311 GB, free: 6.457 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.673e-05/0.002704, allocations: 3.938 kB / 0.9311 GB, free: 6.453 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.357e-05/0.002767, allocations: 5 kB / 0.9311 GB, free: 6.449 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001641/0.002932, allocations: 23.91 kB / 0.9311 GB, free: 6.426 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 8.365e-05/0.003015, allocations: 52.66 kB / 0.9312 GB, free: 6.375 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.241e-05/0.003098, allocations: 0 / 0.9312 GB, free: 6.375 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 7.657e-05/0.003174, allocations: 25.8 kB / 0.9312 GB, free: 6.352 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.649e-05/0.003221, allocations: 19.91 kB / 0.9312 GB, free: 6.332 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.877e-05/0.003239, allocations: 4 kB / 0.9312 GB, free: 6.328 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.015e-05/0.00325, allocations: 4 kB / 0.9312 GB, free: 6.324 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.612e-05/0.003266, allocations: 4 kB / 0.9312 GB, free: 6.32 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.846e-05/0.003294, allocations: 20.62 kB / 0.9312 GB, free: 6.301 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 9.048e-05/0.003385, allocations: 40.91 kB / 0.9313 GB, free: 6.262 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.003388, allocations: 4 kB / 0.9313 GB, free: 6.258 MB / 0.698 GB Notification: Performance of FrontEnd: time 9.41e-07/0.003389, allocations: 0 / 0.9313 GB, free: 6.258 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.006e-06/0.003392, allocations: 0.875 kB / 0.9313 GB, free: 6.258 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004104/0.003802, allocations: 282.8 kB / 0.9315 GB, free: 5.949 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.003844, allocations: 16.48 kB / 0.9316 GB, free: 5.934 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.051e-05/0.003874, allocations: 8.891 kB / 0.9316 GB, free: 5.926 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.371e-05/0.003958, allocations: 115.2 kB / 0.9317 GB, free: 5.789 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.003969, allocations: 384 / 0.9317 GB, free: 5.789 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.342e-05/0.003982, allocations: 4.375 kB / 0.9317 GB, free: 5.785 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002043/0.004187, allocations: 69.75 kB / 0.9317 GB, free: 5.715 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.782e-06/0.004194, allocations: 192 / 0.9317 GB, free: 5.715 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.004204, allocations: 4.375 kB / 0.9318 GB, free: 5.711 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.177e-06/0.004208, allocations: 384 / 0.9318 GB, free: 5.711 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002253/0.004433, allocations: 67.86 kB / 0.9318 GB, free: 5.645 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002943/0.004728, allocations: 213.2 kB / 0.932 GB, free: 5.406 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001634/0.004891, allocations: 64.11 kB / 0.9321 GB, free: 5.336 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001158/0.005007, allocations: 36.91 kB / 0.9321 GB, free: 5.297 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.005028, allocations: 6.562 kB / 0.9321 GB, free: 5.293 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.005051, allocations: 34.56 kB / 0.9322 GB, free: 5.25 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.293e-06/0.005052, allocations: 0 / 0.9322 GB, free: 5.25 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0004382/0.00549, allocations: 134.7 kB / 0.9323 GB, free: 5.113 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.537e-05/0.005515, allocations: 55.41 kB / 0.9323 GB, free: 5.047 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.684e-05/0.005592, allocations: 115 kB / 0.9324 GB, free: 4.926 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.005604, allocations: 25.7 kB / 0.9325 GB, free: 4.895 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.124e-05/0.005645, allocations: 88.12 kB / 0.9326 GB, free: 4.805 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.895e-05/0.005664, allocations: 8.609 kB / 0.9326 GB, free: 4.797 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.191e-05/0.005696, allocations: 13.72 kB / 0.9326 GB, free: 4.777 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.005799, allocations: 319.7 kB / 0.9329 GB, free: 4.457 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.005913, allocations: 28.59 kB / 0.9329 GB, free: 4.43 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/0.00602, allocations: 35.19 kB / 0.9329 GB, free: 4.398 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002147/0.006235, allocations: 64.78 kB / 0.933 GB, free: 4.332 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.006237, allocations: 0 / 0.933 GB, free: 4.332 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000265/0.006502, allocations: 105.6 kB / 0.9331 GB, free: 4.227 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.006515, allocations: 11.98 kB / 0.9331 GB, free: 4.215 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.006522, allocations: 3.938 kB / 0.9331 GB, free: 4.211 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.006533, allocations: 0 / 0.9331 GB, free: 4.211 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.932e-05/0.006632, allocations: 15.98 kB / 0.9331 GB, free: 4.195 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.006639, allocations: 0 / 0.9331 GB, free: 4.195 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.856e-05/0.006697, allocations: 11.98 kB / 0.9331 GB, free: 4.184 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.006705, allocations: 3.469 kB / 0.9331 GB, free: 4.184 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 (3): * Single equations (assignments): 3 * 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 6.53e-05/0.00677, allocations: 109.8 kB / 0.9333 GB, free: 4.066 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.431e-05/0.006794, allocations: 4 kB / 0.9333 GB, free: 4.062 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.8e-05/0.006822, allocations: 15.92 kB / 0.9333 GB, free: 4.047 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.006825, allocations: 0 / 0.9333 GB, free: 4.047 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.006826, allocations: 0 / 0.9333 GB, free: 4.047 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.297e-06/0.006835, allocations: 7.953 kB / 0.9333 GB, free: 4.039 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.162e-05/0.006847, allocations: 0 / 0.9333 GB, free: 4.039 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.175e-05/0.006938, allocations: 13.11 kB / 0.9333 GB, free: 4.027 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.746e-05/0.006976, allocations: 3.984 kB / 0.9333 GB, free: 4.023 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003214/0.007297, allocations: 188.8 kB / 0.9335 GB, free: 3.832 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003084/0.007606, allocations: 271.1 kB / 0.9337 GB, free: 3.551 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001299/0.007736, allocations: 47.98 kB / 0.9338 GB, free: 3.504 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.778e-05/0.007773, allocations: 79.28 kB / 0.9339 GB, free: 3.426 MB / 0.698 GB Notification: Performance of Backend: time 1.81e-07/0.007774, allocations: 0 / 0.9339 GB, free: 3.426 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004199/0.008194, allocations: 114.3 kB / 0.934 GB, free: 3.305 MB / 0.698 GB Notification: Performance of SimCode: time 0.000443/0.008637, allocations: 0.5807 MB / 0.9345 GB, free: 2.676 MB / 0.698 GB Notification: Performance of Templates: time 0.002723/0.01136, allocations: 0.9668 MB / 0.9355 GB, free: 1.73 MB / 0.698 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Modulo.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Modulo.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Modulo -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.5730721559375525] Failed to read output from testmodel.py, exit status != 0: 0.01702177617698908 0.024693212000000003 0.019652106000000003 Calling exit ...