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.04632/0.04632, allocations: 9.132 MB / 28.99 MB, free: 0.8203 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.000885/0.000885, allocations: 95.2 kB / 35.33 MB, free: 1.078 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.0018/0.0018, allocations: 164.7 kB / 38.73 MB, free: 2.516 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 1.056/1.056, allocations: 177.2 MB / 219.2 MB, free: 10.11 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.004097/0.004097, allocations: 0.8186 MB / 276.5 MB, free: 0.7461 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.692/1.692, allocations: 274.9 MB / 0.5419 GB, free: 0.6016 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.683e-06/1.683e-06, allocations: 0 / 0.638 GB, free: 13.99 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.973e-05/2.141e-05, allocations: 2.312 kB / 0.638 GB, free: 13.98 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.001844/0.001865, allocations: 0.9016 MB / 0.6388 GB, free: 13.08 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.00138/0.003245, allocations: 1.248 MB / 0.6401 GB, free: 11.82 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.702e-05/0.003312, allocations: 0 / 0.6401 GB, free: 11.82 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 3.614e-05/0.003348, allocations: 11.86 kB / 0.6401 GB, free: 11.81 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 9.309e-05/0.003442, allocations: 23.73 kB / 0.6401 GB, free: 11.79 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004398/0.003881, allocations: 147.5 kB / 0.6402 GB, free: 11.64 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0001837/0.004065, allocations: 167.6 kB / 0.6404 GB, free: 11.48 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.004165, allocations: 33.94 kB / 0.6404 GB, free: 11.44 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001315/0.004297, allocations: 99.84 kB / 0.6405 GB, free: 11.34 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 9.329e-05/0.00439, allocations: 43.86 kB / 0.6406 GB, free: 11.3 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 2.228e-05/0.004412, allocations: 12 kB / 0.6406 GB, free: 11.29 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 7.549e-05/0.004488, allocations: 31.92 kB / 0.6406 GB, free: 11.26 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 3.035e-05/0.004518, allocations: 23.91 kB / 0.6406 GB, free: 11.23 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 4.179e-05/0.00456, allocations: 39.91 kB / 0.6407 GB, free: 11.2 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001561/0.004716, allocations: 123.5 kB / 0.6408 GB, free: 11.07 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.004718, allocations: 0 / 0.6408 GB, free: 11.07 MB / 0.6043 GB Notification: Performance of FrontEnd: time 8.22e-07/0.004719, allocations: 8 kB / 0.6408 GB, free: 11.07 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.597e-06/0.004723, allocations: 0 / 0.6408 GB, free: 11.07 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.0004466/0.005169, allocations: 357.8 kB / 0.6411 GB, free: 10.68 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.005202, allocations: 11.98 kB / 0.6411 GB, free: 10.67 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.708e-05/0.005239, allocations: 20.92 kB / 0.6412 GB, free: 10.65 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001625/0.005402, allocations: 149.5 kB / 0.6413 GB, free: 10.48 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.005414, allocations: 12.36 kB / 0.6413 GB, free: 10.47 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.419e-05/0.005438, allocations: 16.38 kB / 0.6413 GB, free: 10.45 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001178/0.005556, allocations: 78.91 kB / 0.6414 GB, free: 10.37 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.752e-06/0.005563, allocations: 4.188 kB / 0.6414 GB, free: 10.36 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.005572, allocations: 4.375 kB / 0.6414 GB, free: 10.36 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.86e-06/0.005577, allocations: 4.375 kB / 0.6414 GB, free: 10.36 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.794e-05/0.005605, allocations: 23.81 kB / 0.6414 GB, free: 10.33 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003847/0.00599, allocations: 216.1 kB / 0.6417 GB, free: 10.11 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 4.494e-05/0.006035, allocations: 34.44 kB / 0.6417 GB, free: 10.06 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.099e-05/0.006056, allocations: 16.97 kB / 0.6417 GB, free: 10.04 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.367e-05/0.006069, allocations: 0 / 0.6417 GB, free: 10.04 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.544e-05/0.006165, allocations: 71.38 kB / 0.6418 GB, free: 9.961 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=10): time 1.233e-06/0.006166, allocations: 0 / 0.6418 GB, free: 9.961 MB / 0.6043 GB Notification: Performance of matching and sorting (n=10): time 0.0001443/0.00631, allocations: 81.59 kB / 0.6418 GB, free: 9.875 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.683e-05/0.006347, allocations: 51.41 kB / 0.6419 GB, free: 9.812 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.999e-05/0.006437, allocations: 150.2 kB / 0.642 GB, free: 9.656 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 2.392e-05/0.006461, allocations: 33.7 kB / 0.6421 GB, free: 9.617 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 4.72e-05/0.006508, allocations: 104 kB / 0.6422 GB, free: 9.512 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.885e-05/0.006527, allocations: 35.67 kB / 0.6422 GB, free: 9.477 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.694e-05/0.006584, allocations: 53.66 kB / 0.6423 GB, free: 9.418 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 7.426e-05/0.006658, allocations: 318.8 kB / 0.6426 GB, free: 9.098 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.839e-05/0.006717, allocations: 61.62 kB / 0.6426 GB, free: 9.031 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.862e-05/0.006795, allocations: 132.8 kB / 0.6427 GB, free: 8.855 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001125/0.006908, allocations: 168.6 kB / 0.6429 GB, free: 8.645 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.006912, allocations: 3.938 kB / 0.6429 GB, free: 8.641 MB / 0.6043 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00017/0.007082, allocations: 213.1 kB / 0.6431 GB, free: 8.414 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 2.749e-05/0.00711, allocations: 41.72 kB / 0.6432 GB, free: 8.367 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.007115, allocations: 7.938 kB / 0.6432 GB, free: 8.359 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.007129, allocations: 4 kB / 0.6432 GB, free: 8.355 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.325e-05/0.007202, allocations: 19.98 kB / 0.6432 GB, free: 8.336 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.007208, allocations: 7.938 kB / 0.6432 GB, free: 8.328 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.54e-05/0.007304, allocations: 31.97 kB / 0.6432 GB, free: 8.297 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/0.007317, allocations: 8 kB / 0.6432 GB, free: 8.289 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.503e-05/0.007382, allocations: 125.7 kB / 0.6434 GB, free: 8.156 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.439e-05/0.007397, allocations: 15.98 kB / 0.6434 GB, free: 8.141 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.501e-05/0.007422, allocations: 12.78 kB / 0.6434 GB, free: 8.129 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.007424, allocations: 0 / 0.6434 GB, free: 8.129 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.953e-06/0.007426, allocations: 0 / 0.6434 GB, free: 8.129 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.007431, allocations: 3.984 kB / 0.6434 GB, free: 8.125 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002549/0.007685, allocations: 254.9 kB / 0.6436 GB, free: 7.852 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.007687, allocations: 0 / 0.6436 GB, free: 7.852 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.149e-05/0.007728, allocations: 8 kB / 0.6436 GB, free: 7.844 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.007731, allocations: 0 / 0.6436 GB, free: 7.844 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/0.00774, allocations: 3.984 kB / 0.6436 GB, free: 7.84 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.007742, allocations: 4 kB / 0.6436 GB, free: 7.836 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.007743, allocations: 4 kB / 0.6436 GB, free: 7.832 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001288/0.007871, allocations: 183.4 kB / 0.6438 GB, free: 7.637 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 9.899e-06/0.007881, allocations: 7.953 kB / 0.6438 GB, free: 7.629 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.295e-05/0.007894, allocations: 7.984 kB / 0.6438 GB, free: 7.621 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.734e-05/0.007932, allocations: 4 kB / 0.6438 GB, free: 7.617 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.029e-05/0.007962, allocations: 3.984 kB / 0.6438 GB, free: 7.613 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.007969, allocations: 8 kB / 0.6438 GB, free: 7.605 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 2.262e-05/0.007992, allocations: 32.77 kB / 0.6439 GB, free: 7.57 MB / 0.6043 GB Notification: Performance of sort global known variables: time 6e-08/0.007992, allocations: 0 / 0.6439 GB, free: 7.57 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001614/0.008153, allocations: 35.88 kB / 0.6439 GB, free: 7.535 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 0.0001138/0.008267, allocations: 92.34 kB / 0.644 GB, free: 7.438 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0001535/0.008421, allocations: 173.7 kB / 0.6442 GB, free: 7.246 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.008423, allocations: 0 / 0.6442 GB, free: 7.246 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 2.961e-05/0.008453, allocations: 20.86 kB / 0.6442 GB, free: 7.223 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001464/0.008599, allocations: 36.66 kB / 0.6442 GB, free: 7.188 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003285/0.008928, allocations: 244.8 kB / 0.6445 GB, free: 6.922 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.522e-05/0.008963, allocations: 67.84 kB / 0.6445 GB, free: 6.832 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 3.583e-05/0.008999, allocations: 12.64 kB / 0.6445 GB, free: 6.82 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.652e-05/0.009075, allocations: 75.36 kB / 0.6446 GB, free: 6.746 MB / 0.6043 GB Notification: Performance of SimCode: time 9.42e-07/0.009076, allocations: 0 / 0.6446 GB, free: 6.746 MB / 0.6043 GB Notification: Performance of Templates: time 0.003339/0.01242, allocations: 1.846 MB / 0.6464 GB, free: 4.902 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.514332342892885]