Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.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.0008225/0.0008225, allocations: 75.7 kB / 20.02 MB, free: 4.324 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.0008826/0.0008826, allocations: 165.3 kB / 23.33 MB, free: 1.016 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.9162/0.9162, 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.03509/0.03509, allocations: 9.127 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.0004906/0.0004906, allocations: 22.72 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.595/1.595, allocations: 275 MB / 0.6476 GB, free: 2.836 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.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 1.344 kB / 0.9295 GB, free: 20.84 MB / 0.7293 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.791e-05/1.948e-05, allocations: 7.859 kB / 0.9295 GB, free: 20.83 MB / 0.7293 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.001152/0.001171, allocations: 0.835 MB / 0.9304 GB, free: 20.3 MB / 0.7293 GB Notification: Performance of NFInst.instExpressions: time 0.0009688/0.00214, allocations: 1.211 MB / 0.9315 GB, free: 19.43 MB / 0.7293 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.901e-05/0.002189, allocations: 1.531 kB / 0.9315 GB, free: 19.43 MB / 0.7293 GB Notification: Performance of NFTyping.typeComponents: time 2.825e-05/0.002217, allocations: 9.188 kB / 0.9316 GB, free: 19.42 MB / 0.7293 GB Notification: Performance of NFTyping.typeBindings: time 6.995e-05/0.002287, allocations: 19.78 kB / 0.9316 GB, free: 19.41 MB / 0.7293 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003796/0.002667, allocations: 149 kB / 0.9317 GB, free: 19.33 MB / 0.7293 GB Notification: Performance of NFFlatten.flatten: time 0.0001505/0.002817, allocations: 174 kB / 0.9319 GB, free: 19.25 MB / 0.7293 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.002918, allocations: 35.22 kB / 0.9319 GB, free: 19.23 MB / 0.7293 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001176/0.003036, allocations: 88.84 kB / 0.932 GB, free: 19.2 MB / 0.7293 GB Notification: Performance of NFSimplifyModel.simplify: time 8.539e-05/0.003121, allocations: 54.94 kB / 0.9321 GB, free: 19.18 MB / 0.7293 GB Notification: Performance of NFPackage.collectConstants: time 2.55e-05/0.003147, allocations: 15.34 kB / 0.9321 GB, free: 19.18 MB / 0.7293 GB Notification: Performance of NFFlatten.collectFunctions: time 5.395e-05/0.003201, allocations: 31.25 kB / 0.9321 GB, free: 19.17 MB / 0.7293 GB Notification: Performance of NFScalarize.scalarize: time 2.44e-05/0.003225, allocations: 21.44 kB / 0.9321 GB, free: 19.16 MB / 0.7293 GB Notification: Performance of NFVerifyModel.verify: time 5.246e-05/0.003277, allocations: 49.95 kB / 0.9322 GB, free: 19.13 MB / 0.7293 GB Notification: Performance of NFConvertDAE.convert: time 0.0002019/0.003479, allocations: 195.6 kB / 0.9324 GB, free: 19.05 MB / 0.7293 GB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.003481, allocations: 0 / 0.9324 GB, free: 19.05 MB / 0.7293 GB Notification: Performance of FrontEnd: time 1.252e-06/0.003482, allocations: 0 / 0.9324 GB, free: 19.05 MB / 0.7293 GB Notification: Performance of Transformations before backend: time 3.437e-06/0.003486, allocations: 0 / 0.9324 GB, free: 19.05 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0004774/0.003963, allocations: 415.3 kB / 0.9327 GB, free: 18.68 MB / 0.7293 GB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.003998, allocations: 17.52 kB / 0.9328 GB, free: 18.67 MB / 0.7293 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.456e-05/0.004042, allocations: 26.08 kB / 0.9328 GB, free: 18.66 MB / 0.7293 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003047/0.004347, allocations: 187.6 kB / 0.933 GB, free: 18.51 MB / 0.7293 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.004358, allocations: 6.344 kB / 0.933 GB, free: 18.51 MB / 0.7293 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.957e-05/0.004388, allocations: 14.3 kB / 0.933 GB, free: 18.5 MB / 0.7293 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.004543, allocations: 95.06 kB / 0.9331 GB, free: 18.45 MB / 0.7293 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.004551, allocations: 4.188 kB / 0.9331 GB, free: 18.45 MB / 0.7293 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.004563, allocations: 6.984 kB / 0.9331 GB, free: 18.44 MB / 0.7293 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.004568, allocations: 6.25 kB / 0.9331 GB, free: 18.44 MB / 0.7293 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.665e-05/0.004665, allocations: 46.44 kB / 0.9331 GB, free: 18.43 MB / 0.7293 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004372/0.005102, allocations: 311.6 kB / 0.9334 GB, free: 18.18 MB / 0.7293 GB Notification: Performance of preOpt comSubExp (simulation): time 7.646e-05/0.005179, allocations: 36.33 kB / 0.9335 GB, free: 18.15 MB / 0.7293 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.951e-05/0.005228, allocations: 24.62 kB / 0.9335 GB, free: 18.14 MB / 0.7293 GB Notification: Performance of preOpt evalFunc (simulation): time 1.435e-05/0.005243, allocations: 1.984 kB / 0.9335 GB, free: 18.14 MB / 0.7293 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001462/0.005389, allocations: 98.02 kB / 0.9336 GB, free: 18.08 MB / 0.7293 GB Notification: Performance of pre-optimization done (n=10): time 1.513e-06/0.00539, allocations: 0 / 0.9336 GB, free: 18.08 MB / 0.7293 GB Notification: Performance of matching and sorting (n=10): time 0.0002719/0.005662, allocations: 138.5 kB / 0.9337 GB, free: 18.02 MB / 0.7293 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.608e-05/0.005678, allocations: 52.59 kB / 0.9338 GB, free: 17.96 MB / 0.7293 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.263e-05/0.005751, allocations: 145.7 kB / 0.9339 GB, free: 17.84 MB / 0.7293 GB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.005767, allocations: 29.48 kB / 0.9339 GB, free: 17.81 MB / 0.7293 GB Notification: Performance of collectInitialEqns (initialization): time 4.3e-05/0.00581, allocations: 110 kB / 0.934 GB, free: 17.71 MB / 0.7293 GB Notification: Performance of collectInitialBindings (initialization): time 1.686e-05/0.005827, allocations: 30.89 kB / 0.9341 GB, free: 17.68 MB / 0.7293 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.102e-05/0.005878, allocations: 46.5 kB / 0.9341 GB, free: 17.66 MB / 0.7293 GB Notification: Performance of setup shared object (initialization): time 2.961e-05/0.005907, allocations: 326.7 kB / 0.9344 GB, free: 17.34 MB / 0.7293 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/0.00601, allocations: 78.39 kB / 0.9345 GB, free: 17.29 MB / 0.7293 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000114/0.006124, allocations: 165.8 kB / 0.9347 GB, free: 17.14 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001705/0.006294, allocations: 198.1 kB / 0.9349 GB, free: 16.96 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.006297, allocations: 1.125 kB / 0.9349 GB, free: 16.96 MB / 0.7293 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002941/0.006591, allocations: 277.9 kB / 0.9351 GB, free: 16.8 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 2.533e-05/0.006616, allocations: 35.39 kB / 0.9352 GB, free: 16.77 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.952e-06/0.006622, allocations: 7.875 kB / 0.9352 GB, free: 16.77 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.006636, allocations: 4.938 kB / 0.9352 GB, free: 16.77 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.438e-05/0.0067, allocations: 30.12 kB / 0.9352 GB, free: 16.76 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.809e-06/0.00671, allocations: 3.953 kB / 0.9352 GB, free: 16.76 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001166/0.006827, allocations: 35.98 kB / 0.9352 GB, free: 16.76 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.723e-05/0.006844, allocations: 13.05 kB / 0.9352 GB, free: 16.76 MB / 0.7293 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 (booleanPulse.y,$PRE.booleanPulse.y,$whenCondition4,$whenCondition1,$whenCondition2,sampleTrigger.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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.956e-05/0.006904, allocations: 131.3 kB / 0.9354 GB, free: 16.63 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.063e-05/0.006914, allocations: 21.06 kB / 0.9354 GB, free: 16.61 MB / 0.7293 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.045e-05/0.006945, allocations: 17.05 kB / 0.9354 GB, free: 16.6 MB / 0.7293 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.006948, allocations: 3.984 kB / 0.9354 GB, free: 16.59 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.00695, allocations: 5.688 kB / 0.9354 GB, free: 16.59 MB / 0.7293 GB Notification: Performance of postOpt removeConstants (simulation): time 8.887e-06/0.006959, allocations: 8.141 kB / 0.9354 GB, free: 16.59 MB / 0.7293 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/0.006973, allocations: 5.094 kB / 0.9354 GB, free: 16.58 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.03e-05/0.007003, allocations: 11.23 kB / 0.9354 GB, free: 16.58 MB / 0.7293 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.556e-05/0.007049, allocations: 12.52 kB / 0.9354 GB, free: 16.57 MB / 0.7293 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002157/0.007264, allocations: 202.8 kB / 0.9356 GB, free: 16.44 MB / 0.7293 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002481/0.007512, allocations: 323.6 kB / 0.936 GB, free: 16.2 MB / 0.7293 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.499e-05/0.007577, allocations: 33.44 kB / 0.936 GB, free: 16.2 MB / 0.7293 GB Notification: Performance of sorting global known variables: time 3.794e-05/0.007615, allocations: 106.7 kB / 0.9361 GB, free: 16.11 MB / 0.7293 GB Notification: Performance of Backend: time 1.6e-07/0.007615, allocations: 1.656 kB / 0.9361 GB, free: 16.11 MB / 0.7293 GB Notification: Performance of simCode: created initialization part: time 0.0003857/0.008001, allocations: 262 kB / 0.9363 GB, free: 15.92 MB / 0.7293 GB Notification: Performance of SimCode: time 0.0004057/0.008407, allocations: 0.6926 MB / 0.937 GB, free: 15.26 MB / 0.7293 GB Notification: Performance of Templates: time 0.003946/0.01235, allocations: 1.92 MB / 0.9389 GB, free: 15.06 MB / 0.7293 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.922272092662752] Failed to read output from testmodel.py, exit status != 0: 0.016945812851190567 0.024965755000000003 0.019879012 Calling exit ...