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/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.04979/0.04979, allocations: 9.129 MB / 28.99 MB, free: 0.8086 MB / 18.57 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/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.0009527/0.0009527, allocations: 90.66 kB / 35.33 MB, free: 1.074 MB / 24.77 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.001084/0.001084, allocations: 163.9 kB / 38.73 MB, free: 2.508 MB / 24.77 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.9101/0.9101, allocations: 177.2 MB / 219.2 MB, free: 10.13 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo): time 0.003973/0.003973, allocations: 0.8264 MB / 276.5 MB, free: 0.7578 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo): time 1.607/1.607, allocations: 274.9 MB / 0.5419 GB, free: 0.6406 MB / 0.4949 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo) Using package SDF with version 0.4.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/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) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/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.853e-06/1.853e-06, allocations: 0 / 0.6379 GB, free: 14.08 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.328e-05/2.514e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.07 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.002088/0.002114, allocations: 0.8623 MB / 0.6388 GB, free: 13.21 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001799/0.003912, allocations: 1.244 MB / 0.64 GB, free: 11.95 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.363e-05/0.003976, allocations: 0 / 0.64 GB, free: 11.95 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 4.275e-05/0.004019, allocations: 11.86 kB / 0.64 GB, free: 11.94 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.0001312/0.00415, allocations: 19.8 kB / 0.64 GB, free: 11.92 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003853/0.004535, allocations: 151.5 kB / 0.6401 GB, free: 11.77 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.000163/0.004698, allocations: 175.6 kB / 0.6403 GB, free: 11.6 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 9.978e-05/0.004798, allocations: 25.94 kB / 0.6403 GB, free: 11.57 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001307/0.004929, allocations: 107.8 kB / 0.6404 GB, free: 11.47 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 9.787e-05/0.005026, allocations: 47.8 kB / 0.6405 GB, free: 11.42 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 2.245e-05/0.005049, allocations: 15.94 kB / 0.6405 GB, free: 11.41 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 5.896e-05/0.005108, allocations: 20 kB / 0.6405 GB, free: 11.39 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 2.547e-05/0.005133, allocations: 23.91 kB / 0.6405 GB, free: 11.36 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 4.919e-05/0.005182, allocations: 39.91 kB / 0.6406 GB, free: 11.32 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001438/0.005326, allocations: 123.5 kB / 0.6407 GB, free: 11.2 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.005328, allocations: 8 kB / 0.6407 GB, free: 11.2 MB / 0.6043 GB Notification: Performance of FrontEnd: time 6.71e-07/0.005329, allocations: 0 / 0.6407 GB, free: 11.2 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.276e-06/0.005332, allocations: 0 / 0.6407 GB, free: 11.2 MB / 0.6043 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.0004256/0.005758, allocations: 357.8 kB / 0.6411 GB, free: 10.81 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.134e-05/0.005789, allocations: 15.98 kB / 0.6411 GB, free: 10.8 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.752e-05/0.005827, allocations: 16.92 kB / 0.6411 GB, free: 10.78 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001646/0.005991, allocations: 145.5 kB / 0.6412 GB, free: 10.61 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.00601, allocations: 16.31 kB / 0.6412 GB, free: 10.6 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.859e-05/0.006049, allocations: 16.36 kB / 0.6413 GB, free: 10.58 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.0062, allocations: 78.92 kB / 0.6413 GB, free: 10.5 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.006208, allocations: 192 / 0.6413 GB, free: 10.5 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.00622, allocations: 12.36 kB / 0.6413 GB, free: 10.48 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.006224, allocations: 384 / 0.6413 GB, free: 10.48 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.761e-05/0.006252, allocations: 19.88 kB / 0.6414 GB, free: 10.46 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003625/0.006614, allocations: 228 kB / 0.6416 GB, free: 10.23 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 3.484e-05/0.006649, allocations: 22.52 kB / 0.6416 GB, free: 10.2 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.796e-05/0.006667, allocations: 12.98 kB / 0.6416 GB, free: 10.18 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.318e-05/0.00668, allocations: 3.984 kB / 0.6416 GB, free: 10.18 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.896e-05/0.006759, allocations: 79.3 kB / 0.6417 GB, free: 10.09 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=10): time 1.223e-06/0.006761, allocations: 0 / 0.6417 GB, free: 10.09 MB / 0.6043 GB Notification: Performance of matching and sorting (n=10): time 0.0001196/0.00688, allocations: 81.59 kB / 0.6418 GB, free: 10 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.691e-05/0.006907, allocations: 51.41 kB / 0.6418 GB, free: 9.938 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.959e-05/0.006987, allocations: 150 kB / 0.642 GB, free: 9.781 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.007007, allocations: 33.7 kB / 0.642 GB, free: 9.742 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 4.228e-05/0.007049, allocations: 104.1 kB / 0.6421 GB, free: 9.637 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.681e-05/0.007066, allocations: 31.73 kB / 0.6421 GB, free: 9.605 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.986e-05/0.007116, allocations: 49.67 kB / 0.6422 GB, free: 9.551 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 7.059e-05/0.007186, allocations: 326.8 kB / 0.6425 GB, free: 9.223 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.84e-05/0.007235, allocations: 53.69 kB / 0.6425 GB, free: 9.164 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.635e-05/0.007311, allocations: 136.8 kB / 0.6427 GB, free: 8.984 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001041/0.007415, allocations: 164.7 kB / 0.6428 GB, free: 8.777 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.007419, allocations: 3.938 kB / 0.6428 GB, free: 8.773 MB / 0.6043 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001584/0.007578, allocations: 209 kB / 0.643 GB, free: 8.551 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/0.007602, allocations: 41.72 kB / 0.6431 GB, free: 8.504 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.007608, allocations: 4 kB / 0.6431 GB, free: 8.5 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.007618, allocations: 4 kB / 0.6431 GB, free: 8.496 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.921e-05/0.007677, allocations: 23.92 kB / 0.6431 GB, free: 8.473 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.918e-06/0.007681, allocations: 4 kB / 0.6431 GB, free: 8.469 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.893e-05/0.00777, allocations: 27.98 kB / 0.6431 GB, free: 8.441 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.485e-05/0.007785, allocations: 15.97 kB / 0.6431 GB, free: 8.426 MB / 0.6043 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 6.385e-05/0.007849, allocations: 125.7 kB / 0.6433 GB, free: 8.293 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.269e-05/0.007861, allocations: 19.98 kB / 0.6433 GB, free: 8.273 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.393e-05/0.007885, allocations: 12.78 kB / 0.6433 GB, free: 8.262 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.007887, allocations: 0 / 0.6433 GB, free: 8.262 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.007888, allocations: 0 / 0.6433 GB, free: 8.262 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.007891, allocations: 0 / 0.6433 GB, free: 8.262 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002206/0.008112, allocations: 250.9 kB / 0.6435 GB, free: 7.992 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.008113, allocations: 0 / 0.6435 GB, free: 7.992 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.706e-05/0.00815, allocations: 8 kB / 0.6435 GB, free: 7.984 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.008153, allocations: 7.938 kB / 0.6435 GB, free: 7.977 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/0.008161, allocations: 4 kB / 0.6435 GB, free: 7.973 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.008162, allocations: 4 kB / 0.6436 GB, free: 7.969 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.008163, allocations: 7.922 kB / 0.6436 GB, free: 7.961 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001162/0.008279, allocations: 183.5 kB / 0.6437 GB, free: 7.766 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 7.604e-06/0.008287, allocations: 7.953 kB / 0.6437 GB, free: 7.758 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.245e-05/0.008299, allocations: 8 kB / 0.6437 GB, free: 7.75 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.654e-05/0.008336, allocations: 3.984 kB / 0.6438 GB, free: 7.746 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.658e-05/0.008363, allocations: 11.92 kB / 0.6438 GB, free: 7.734 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-06/0.008368, allocations: 4 kB / 0.6438 GB, free: 7.73 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 2.163e-05/0.008389, allocations: 32.78 kB / 0.6438 GB, free: 7.695 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.008389, allocations: 0 / 0.6438 GB, free: 7.695 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001619/0.008551, allocations: 39.92 kB / 0.6438 GB, free: 7.656 MB / 0.6043 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (intDef.y,intWitRes1.y,intWitRes2.y) * Number of discrete variables: 6 (sampleTrigger.y,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booleanPulse.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.229e-05/0.008644, allocations: 80.42 kB / 0.6439 GB, free: 7.57 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0001463/0.00879, allocations: 161.8 kB / 0.6441 GB, free: 7.391 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 4.86e-06/0.008795, allocations: 4 kB / 0.6441 GB, free: 7.387 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 3.001e-05/0.008825, allocations: 29.52 kB / 0.6441 GB, free: 7.355 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001461/0.008971, allocations: 31.92 kB / 0.6441 GB, free: 7.324 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003221/0.009293, allocations: 240.9 kB / 0.6444 GB, free: 7.062 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.588e-05/0.009329, allocations: 67.83 kB / 0.6444 GB, free: 6.973 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 3.909e-05/0.009368, allocations: 20.58 kB / 0.6444 GB, free: 6.953 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.726e-05/0.009445, allocations: 75.36 kB / 0.6445 GB, free: 6.879 MB / 0.6043 GB Notification: Performance of SimCode: time 8.82e-07/0.009446, allocations: 0 / 0.6445 GB, free: 6.879 MB / 0.6043 GB Notification: Performance of Templates: time 0.003268/0.01271, allocations: 1.846 MB / 0.6463 GB, free: 5.031 MB / 0.6043 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=240 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.328966801054776]