Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Change.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.0007241/0.0007241, allocations: 83.69 kB / 20.03 MB, free: 4.484 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.0007557/0.0007557, allocations: 169.3 kB / 23.33 MB, free: 1.18 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.8686/0.8686, allocations: 177.1 MB / 203.6 MB, free: 5.703 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.035/0.035, allocations: 9.124 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.0003753/0.0003753, allocations: 27.94 kB / 328.7 MB, free: 5.781 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.467/1.467, allocations: 275 MB / 0.6476 GB, free: 2.832 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.Integers.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Change") translateModel(AixLib.Controls.OBC.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Change") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.344e-06/2.344e-06, allocations: 5.094 kB / 0.9295 GB, free: 20.95 MB / 0.7293 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.632e-05/1.867e-05, allocations: 6.281 kB / 0.9295 GB, free: 20.94 MB / 0.7293 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Validation.Change): time 0.001974/0.001993, allocations: 1.891 MB / 0.9313 GB, free: 19.65 MB / 0.7293 GB Notification: Performance of NFInst.instExpressions: time 0.001243/0.003235, allocations: 1.222 MB / 0.9325 GB, free: 18.86 MB / 0.7293 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.06e-05/0.003316, allocations: 2.188 kB / 0.9325 GB, free: 18.86 MB / 0.7293 GB Notification: Performance of NFTyping.typeComponents: time 0.0003072/0.003623, allocations: 103.5 kB / 0.9326 GB, free: 18.82 MB / 0.7293 GB Notification: Performance of NFTyping.typeBindings: time 0.0002564/0.003879, allocations: 138.1 kB / 0.9328 GB, free: 18.75 MB / 0.7293 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001734/0.004053, allocations: 133 kB / 0.9329 GB, free: 18.68 MB / 0.7293 GB Notification: Performance of NFFlatten.flatten: time 0.000202/0.004255, allocations: 237.7 kB / 0.9331 GB, free: 18.57 MB / 0.7293 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.004374, allocations: 31.61 kB / 0.9331 GB, free: 18.55 MB / 0.7293 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001401/0.004514, allocations: 131.1 kB / 0.9333 GB, free: 18.5 MB / 0.7293 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001133/0.004627, allocations: 92.52 kB / 0.9333 GB, free: 18.47 MB / 0.7293 GB Notification: Performance of NFPackage.collectConstants: time 2.457e-05/0.004652, allocations: 13.53 kB / 0.9334 GB, free: 18.47 MB / 0.7293 GB Notification: Performance of NFFlatten.collectFunctions: time 9.195e-05/0.004744, allocations: 58.09 kB / 0.9334 GB, free: 18.45 MB / 0.7293 GB Notification: Performance of NFScalarize.scalarize: time 6.483e-05/0.004808, allocations: 62.97 kB / 0.9335 GB, free: 18.42 MB / 0.7293 GB Notification: Performance of NFVerifyModel.verify: time 5.132e-05/0.00486, allocations: 55.98 kB / 0.9335 GB, free: 18.39 MB / 0.7293 GB Notification: Performance of NFConvertDAE.convert: time 0.000277/0.005137, allocations: 280.8 kB / 0.9338 GB, free: 18.29 MB / 0.7293 GB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.005139, allocations: 0.7031 kB / 0.9338 GB, free: 18.29 MB / 0.7293 GB Notification: Performance of FrontEnd: time 1.543e-06/0.005141, allocations: 5.469 kB / 0.9338 GB, free: 18.29 MB / 0.7293 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.005144, allocations: 0 / 0.9338 GB, free: 18.29 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0006364/0.005781, allocations: 486.8 kB / 0.9343 GB, free: 17.89 MB / 0.7293 GB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.005814, allocations: 13.02 kB / 0.9343 GB, free: 17.89 MB / 0.7293 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.472e-05/0.005859, allocations: 29.45 kB / 0.9343 GB, free: 17.87 MB / 0.7293 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002352/0.006094, allocations: 221.6 kB / 0.9345 GB, free: 17.69 MB / 0.7293 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.006106, allocations: 17.81 kB / 0.9345 GB, free: 17.68 MB / 0.7293 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.916e-05/0.006126, allocations: 11.16 kB / 0.9345 GB, free: 17.68 MB / 0.7293 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001961/0.006322, allocations: 130 kB / 0.9347 GB, free: 17.61 MB / 0.7293 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.00633, allocations: 0 / 0.9347 GB, free: 17.61 MB / 0.7293 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.006341, allocations: 6.016 kB / 0.9347 GB, free: 17.61 MB / 0.7293 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.006347, allocations: 7.156 kB / 0.9347 GB, free: 17.6 MB / 0.7293 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000162/0.006509, allocations: 90.22 kB / 0.9348 GB, free: 17.58 MB / 0.7293 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000422/0.006931, allocations: 375.8 kB / 0.9351 GB, free: 17.3 MB / 0.7293 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002014/0.007132, allocations: 122.7 kB / 0.9352 GB, free: 17.25 MB / 0.7293 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.565e-05/0.007218, allocations: 55.77 kB / 0.9353 GB, free: 17.23 MB / 0.7293 GB Notification: Performance of preOpt evalFunc (simulation): time 1.57e-05/0.007234, allocations: 5.438 kB / 0.9353 GB, free: 17.22 MB / 0.7293 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00017/0.007404, allocations: 132 kB / 0.9354 GB, free: 17.14 MB / 0.7293 GB Notification: Performance of pre-optimization done (n=16): time 1.352e-06/0.007405, allocations: 1.219 kB / 0.9354 GB, free: 17.14 MB / 0.7293 GB Notification: Performance of matching and sorting (n=16): time 0.0003912/0.007796, allocations: 248.4 kB / 0.9357 GB, free: 17.05 MB / 0.7293 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.673e-05/0.007813, allocations: 54.86 kB / 0.9357 GB, free: 16.99 MB / 0.7293 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002251/0.008038, allocations: 345.8 kB / 0.9361 GB, free: 16.81 MB / 0.7293 GB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.008052, allocations: 33.47 kB / 0.9361 GB, free: 16.77 MB / 0.7293 GB Notification: Performance of collectInitialEqns (initialization): time 5.343e-05/0.008105, allocations: 134.2 kB / 0.9362 GB, free: 16.66 MB / 0.7293 GB Notification: Performance of collectInitialBindings (initialization): time 2.603e-05/0.008131, allocations: 41.47 kB / 0.9362 GB, free: 16.62 MB / 0.7293 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.572e-05/0.008187, allocations: 59.88 kB / 0.9363 GB, free: 16.59 MB / 0.7293 GB Notification: Performance of setup shared object (initialization): time 3.945e-05/0.008226, allocations: 339 kB / 0.9366 GB, free: 16.27 MB / 0.7293 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001253/0.008352, allocations: 92.42 kB / 0.9367 GB, free: 16.23 MB / 0.7293 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001353/0.008487, allocations: 135.3 kB / 0.9368 GB, free: 16.16 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002119/0.008699, allocations: 190.4 kB / 0.937 GB, free: 16.05 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.008702, allocations: 0.7031 kB / 0.937 GB, free: 16.05 MB / 0.7293 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003137/0.009015, allocations: 284.6 kB / 0.9373 GB, free: 15.94 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.009028, allocations: 7.156 kB / 0.9373 GB, free: 15.94 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.009034, allocations: 2.047 kB / 0.9373 GB, free: 15.94 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.009046, allocations: 6.875 kB / 0.9373 GB, free: 15.93 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.009166, allocations: 42.11 kB / 0.9374 GB, free: 15.93 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.009176, allocations: 7.484 kB / 0.9374 GB, free: 15.93 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.71e-05/0.009253, allocations: 30.8 kB / 0.9374 GB, free: 15.91 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.827e-05/0.009271, allocations: 11.98 kB / 0.9374 GB, free: 15.91 MB / 0.7293 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 19 (decreaseSampler.y,$PRE.decreaseSampler.y,increaseSampler.y,$PRE.increaseSampler.y,changeSampler.y,$PRE.changeSampler.y,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition2,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,cha.down,cha.up,cha.y,cha.u,$PRE.cha.u,$whenCondition1,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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 8.546e-05/0.009357, allocations: 160.4 kB / 0.9376 GB, free: 15.77 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.038e-05/0.009377, allocations: 23.3 kB / 0.9376 GB, free: 15.76 MB / 0.7293 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002841/0.009661, allocations: 216.2 kB / 0.9378 GB, free: 15.67 MB / 0.7293 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.009665, allocations: 4.547 kB / 0.9378 GB, free: 15.66 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.009667, allocations: 4.562 kB / 0.9378 GB, free: 15.66 MB / 0.7293 GB Notification: Performance of postOpt removeConstants (simulation): time 2.603e-05/0.009693, allocations: 30.92 kB / 0.9378 GB, free: 15.64 MB / 0.7293 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.337e-05/0.009716, allocations: 7.484 kB / 0.9378 GB, free: 15.64 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.498e-05/0.009771, allocations: 12.59 kB / 0.9378 GB, free: 15.64 MB / 0.7293 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.272e-05/0.009824, allocations: 17.48 kB / 0.9379 GB, free: 15.63 MB / 0.7293 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002448/0.01007, allocations: 270.6 kB / 0.9381 GB, free: 15.48 MB / 0.7293 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002569/0.01033, allocations: 383.9 kB / 0.9385 GB, free: 15.21 MB / 0.7293 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.852e-05/0.01042, allocations: 65.47 kB / 0.9385 GB, free: 15.2 MB / 0.7293 GB Notification: Performance of sorting global known variables: time 0.000125/0.01055, allocations: 214.2 kB / 0.9388 GB, free: 15.08 MB / 0.7293 GB Notification: Performance of Backend: time 1.4e-07/0.01055, allocations: 3.938 kB / 0.9388 GB, free: 15.07 MB / 0.7293 GB Notification: Performance of simCode: created initialization part: time 0.001001/0.01155, allocations: 0.5485 MB / 0.9393 GB, free: 14.89 MB / 0.7293 GB Notification: Performance of SimCode: time 0.0005299/0.01208, allocations: 0.8584 MB / 0.9401 GB, free: 14.18 MB / 0.7293 GB Notification: Performance of Templates: time 0.005992/0.01807, allocations: 3.446 MB / 0.9435 GB, free: 13.82 MB / 0.7293 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Change.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Change.sim & ./AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.742887487635016] Failed to read output from testmodel.py, exit status != 0: 0.022778433747589588 0.032492495 0.025710716 Calling exit ...