Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.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.04002/0.04002, allocations: 9.133 MB / 28.99 MB, free: 0.8164 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.001234/0.001234, allocations: 87.27 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.001032/0.001032, allocations: 163.6 kB / 38.73 MB, free: 2.5 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.9671/0.9671, allocations: 177.1 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.006573/0.006573, allocations: 0.8264 MB / 276.5 MB, free: 0.7383 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.566/1.566, allocations: 274.9 MB / 0.5419 GB, free: 0.6172 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.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") translateModel(AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 0.6379 GB, free: 14.08 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.37e-05/2.579e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.08 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001794/0.00182, allocations: 0.7324 MB / 0.6386 GB, free: 13.35 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001644/0.003464, allocations: 1.194 MB / 0.6398 GB, free: 12.14 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.673e-05/0.003511, allocations: 0 / 0.6398 GB, free: 12.14 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 3.201e-05/0.003543, allocations: 7.922 kB / 0.6398 GB, free: 12.13 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 9.101e-05/0.003634, allocations: 11.88 kB / 0.6398 GB, free: 12.12 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004511/0.004085, allocations: 127.6 kB / 0.6399 GB, free: 12 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0001849/0.00427, allocations: 135.7 kB / 0.64 GB, free: 11.86 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 7.299e-05/0.004343, allocations: 4 kB / 0.64 GB, free: 11.86 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001188/0.004462, allocations: 67.83 kB / 0.6401 GB, free: 11.79 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 9.9e-05/0.004561, allocations: 35.94 kB / 0.6401 GB, free: 11.76 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 2.897e-05/0.00459, allocations: 12 kB / 0.6402 GB, free: 11.75 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 6.489e-05/0.004655, allocations: 20 kB / 0.6402 GB, free: 11.73 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 2.343e-05/0.004678, allocations: 15.92 kB / 0.6402 GB, free: 11.71 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 5.219e-05/0.00473, allocations: 35.91 kB / 0.6402 GB, free: 11.68 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001621/0.004893, allocations: 87.83 kB / 0.6403 GB, free: 11.59 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.004895, allocations: 0 / 0.6403 GB, free: 11.59 MB / 0.6043 GB Notification: Performance of FrontEnd: time 5.71e-07/0.004896, allocations: 4 kB / 0.6403 GB, free: 11.59 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.948e-06/0.0049, allocations: 0 / 0.6403 GB, free: 11.59 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004129/0.005312, allocations: 302 kB / 0.6406 GB, free: 11.26 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.005353, allocations: 15.92 kB / 0.6406 GB, free: 11.24 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.308e-05/0.005396, allocations: 8.938 kB / 0.6406 GB, free: 11.23 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.474e-05/0.005491, allocations: 109.7 kB / 0.6407 GB, free: 11.1 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.144e-05/0.005512, allocations: 8.359 kB / 0.6407 GB, free: 11.09 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.288e-05/0.005535, allocations: 8.375 kB / 0.6407 GB, free: 11.09 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.719e-05/0.005612, allocations: 46.95 kB / 0.6408 GB, free: 11.03 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.005619, allocations: 192 / 0.6408 GB, free: 11.03 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.172e-06/0.005625, allocations: 4.375 kB / 0.6408 GB, free: 11.03 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.005631, allocations: 4.375 kB / 0.6408 GB, free: 11.02 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.17e-05/0.005653, allocations: 7.938 kB / 0.6408 GB, free: 11.02 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002716/0.005924, allocations: 180.2 kB / 0.641 GB, free: 10.82 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 4.763e-05/0.005972, allocations: 18.58 kB / 0.641 GB, free: 10.8 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.642e-05/0.005988, allocations: 12.92 kB / 0.641 GB, free: 10.78 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 6.973e-06/0.005995, allocations: 0 / 0.641 GB, free: 10.78 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.053e-05/0.006086, allocations: 55.39 kB / 0.6411 GB, free: 10.71 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=4): time 1.343e-06/0.006087, allocations: 0 / 0.6411 GB, free: 10.71 MB / 0.6043 GB Notification: Performance of matching and sorting (n=4): time 0.0001299/0.006217, allocations: 65.55 kB / 0.6411 GB, free: 10.64 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.559e-05/0.006253, allocations: 51.41 kB / 0.6412 GB, free: 10.58 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.301e-05/0.006346, allocations: 134.6 kB / 0.6413 GB, free: 10.44 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.006366, allocations: 25.7 kB / 0.6413 GB, free: 10.41 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 4.457e-05/0.00641, allocations: 92.08 kB / 0.6414 GB, free: 10.31 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.347e-05/0.006424, allocations: 11.95 kB / 0.6414 GB, free: 10.3 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.525e-05/0.006479, allocations: 25.69 kB / 0.6414 GB, free: 10.27 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.006637, allocations: 318.8 kB / 0.6418 GB, free: 9.949 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.147e-05/0.006698, allocations: 49.69 kB / 0.6418 GB, free: 9.895 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.911e-05/0.006768, allocations: 76.23 kB / 0.6419 GB, free: 9.805 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.104e-05/0.006849, allocations: 76.19 kB / 0.6419 GB, free: 9.715 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.006852, allocations: 4 kB / 0.6419 GB, free: 9.711 MB / 0.6043 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001712/0.007023, allocations: 153 kB / 0.6421 GB, free: 9.543 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 3.304e-05/0.007056, allocations: 37.64 kB / 0.6421 GB, free: 9.5 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.728e-06/0.007061, allocations: 0 / 0.6421 GB, free: 9.5 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.007077, allocations: 4.172 kB / 0.6421 GB, free: 9.496 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.377e-05/0.007121, allocations: 8 kB / 0.6421 GB, free: 9.488 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.007126, allocations: 7.922 kB / 0.6421 GB, free: 9.48 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001304/0.007256, allocations: 20.05 kB / 0.6422 GB, free: 9.461 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.57e-05/0.007272, allocations: 8.062 kB / 0.6422 GB, free: 9.453 MB / 0.6043 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * 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.897e-05/0.007341, allocations: 109.8 kB / 0.6423 GB, free: 9.336 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.464e-05/0.007355, allocations: 11.97 kB / 0.6423 GB, free: 9.324 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.391e-05/0.007379, allocations: 12 kB / 0.6423 GB, free: 9.312 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.007382, allocations: 3.938 kB / 0.6423 GB, free: 9.309 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.007384, allocations: 0 / 0.6423 GB, free: 9.309 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.007387, allocations: 0 / 0.6423 GB, free: 9.309 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.102e-05/0.007468, allocations: 73.88 kB / 0.6424 GB, free: 9.219 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.007469, allocations: 0 / 0.6424 GB, free: 9.219 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.411e-05/0.007484, allocations: 4 kB / 0.6424 GB, free: 9.215 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.007485, allocations: 4 kB / 0.6424 GB, free: 9.211 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.208e-06/0.007489, allocations: 0 / 0.6424 GB, free: 9.211 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.007492, allocations: 3.984 kB / 0.6424 GB, free: 9.207 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.007493, allocations: 0 / 0.6424 GB, free: 9.207 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.841e-05/0.007571, allocations: 77 kB / 0.6425 GB, free: 9.113 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 1.347e-05/0.007584, allocations: 7.953 kB / 0.6425 GB, free: 9.105 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.106e-05/0.007596, allocations: 0 / 0.6425 GB, free: 9.105 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.681e-05/0.007612, allocations: 3.984 kB / 0.6425 GB, free: 9.102 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.031e-05/0.007633, allocations: 3.938 kB / 0.6425 GB, free: 9.098 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-06/0.007637, allocations: 4 kB / 0.6425 GB, free: 9.094 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 2.79e-05/0.007665, allocations: 24.83 kB / 0.6425 GB, free: 9.066 MB / 0.6043 GB Notification: Performance of sort global known variables: time 9e-08/0.007665, allocations: 4 kB / 0.6425 GB, free: 9.062 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0002021/0.007867, allocations: 19.94 kB / 0.6425 GB, free: 9.043 MB / 0.6043 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * 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.0001158/0.007983, allocations: 80.41 kB / 0.6426 GB, free: 8.953 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0001726/0.008156, allocations: 137.9 kB / 0.6427 GB, free: 8.797 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.008158, allocations: 0 / 0.6427 GB, free: 8.797 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 2.231e-05/0.008181, allocations: 16.8 kB / 0.6428 GB, free: 8.777 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001326/0.008313, allocations: 20.11 kB / 0.6428 GB, free: 8.758 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002581/0.008571, allocations: 144.5 kB / 0.6429 GB, free: 8.59 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.359e-05/0.008605, allocations: 55.36 kB / 0.643 GB, free: 8.516 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 2.497e-05/0.00863, allocations: 7.984 kB / 0.643 GB, free: 8.508 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.161e-05/0.008722, allocations: 67.36 kB / 0.643 GB, free: 8.441 MB / 0.6043 GB Notification: Performance of SimCode: time 6.61e-07/0.008722, allocations: 0 / 0.643 GB, free: 8.441 MB / 0.6043 GB Notification: Performance of Templates: time 0.003795/0.01252, allocations: 1.614 MB / 0.6446 GB, free: 6.824 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Pulse -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.234733680263162]