Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.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.00202/0.00202, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.002134/0.002134, allocations: 214.1 kB / 22.24 MB, free: 5.262 MB / 14.72 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.469/1.469, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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.06225/0.06225, allocations: 12.18 MB / 324.6 MB, free: 7.07 MB / 254.1 MB " [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.0008015/0.0008015, allocations: 38.52 kB / 384.1 MB, free: 47.54 MB / 302.1 MB " [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 2.572/2.572, allocations: 353.9 MB / 0.7787 GB, free: 1.637 MB / 0.5138 GB " [Timeout remaining time 177] 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.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") translateModel(AixLib.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") [Timeout 660] "Notification: AixLib requested package Modelica_DeviceDrivers of version 2.1.1. Modelica_DeviceDrivers 2.2.0 is used instead which states that it is fully compatible without conversion script needed. Notification: AixLib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003524/0.003524, allocations: 122.4 kB / 1.06 GB, free: 12.59 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.3285, allocations: 134.9 MB / 1.192 GB, free: 5.789 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002431/0.331, allocations: 0.9112 MB / 1.193 GB, free: 4.883 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 0.002381/0.3333, allocations: 1.465 MB / 1.194 GB, free: 3.406 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.837e-05/0.3334, allocations: 4 kB / 1.195 GB, free: 3.402 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 5.325e-05/0.3335, allocations: 19.73 kB / 1.195 GB, free: 3.383 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 0.0001654/0.3336, allocations: 59.58 kB / 1.195 GB, free: 3.324 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.00114/0.3348, allocations: 440.1 kB / 1.195 GB, free: 2.91 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.0006164/0.3354, allocations: 0.4913 MB / 1.195 GB, free: 2.418 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001559/0.3355, allocations: 33.81 kB / 1.196 GB, free: 2.383 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002314/0.3358, allocations: 187.6 kB / 1.196 GB, free: 2.199 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002486/0.336, allocations: 143.4 kB / 1.196 GB, free: 2.059 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 9.925e-05/0.3361, allocations: 51.94 kB / 1.196 GB, free: 2.008 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001549/0.3363, allocations: 67.97 kB / 1.196 GB, free: 1.941 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 5.292e-05/0.3363, allocations: 31.86 kB / 1.196 GB, free: 1.91 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 0.0003076/0.3366, allocations: 151.5 kB / 1.196 GB, free: 1.762 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.0005922/0.3372, allocations: 0.4907 MB / 1.197 GB, free: 1.27 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.3372, allocations: 3.938 kB / 1.197 GB, free: 1.266 MB / 0.8263 GB Notification: Performance of FrontEnd: time 1.654e-06/0.3372, allocations: 0 / 1.197 GB, free: 1.266 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.3372, allocations: 4 kB / 1.197 GB, free: 1.262 MB / 0.8263 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.0009216/0.3382, allocations: 0.5625 MB / 1.197 GB, free: 0.6406 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/0.3382, allocations: 11.98 kB / 1.197 GB, free: 0.6289 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001027/0.3383, allocations: 32.8 kB / 1.197 GB, free: 0.5977 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001969/0.3385, allocations: 165.3 kB / 1.197 GB, free: 424 kB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.311e-05/0.3386, allocations: 20.36 kB / 1.197 GB, free: 404 kB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.784e-05/0.3386, allocations: 24.38 kB / 1.197 GB, free: 380 kB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002158/0.3388, allocations: 117.6 kB / 1.198 GB, free: 244 kB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.3388, allocations: 192 / 1.198 GB, free: 244 kB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.873e-05/0.3389, allocations: 7.938 kB / 1.198 GB, free: 236 kB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.3389, allocations: 8 kB / 1.198 GB, free: 228 kB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001135/0.339, allocations: 51.91 kB / 1.198 GB, free: 176 kB / 0.8263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009886/0.34, allocations: 0.7194 MB / 1.198 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000194/0.3402, allocations: 118.4 kB / 1.198 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001336/0.3403, allocations: 51.48 kB / 1.198 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.232e-05/0.3403, allocations: 4 kB / 1.198 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003261/0.3406, allocations: 186.5 kB / 1.199 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=16): time 1.292e-06/0.3406, allocations: 0 / 1.199 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of matching and sorting (n=16): time 0.0005438/0.3412, allocations: 226 kB / 1.199 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.535e-05/0.3413, allocations: 140.5 kB / 1.199 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002583/0.3415, allocations: 240.8 kB / 1.199 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 6.382e-05/0.3416, allocations: 37.7 kB / 1.199 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000132/0.3417, allocations: 132.4 kB / 1.199 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.718e-05/0.3418, allocations: 31.8 kB / 1.199 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001846/0.3419, allocations: 89.66 kB / 1.199 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001895/0.3421, allocations: 334.8 kB / 1.2 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004076/0.3425, allocations: 282.9 kB / 1.2 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006434/0.3432, allocations: 350.2 kB / 1.2 GB, free: 13 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004901/0.3437, allocations: 368.9 kB / 1.201 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.3437, allocations: 0 / 1.201 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001115/0.3448, allocations: 0.6904 MB / 1.201 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.000122/0.3449, allocations: 136.7 kB / 1.202 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.3449, allocations: 4 kB / 1.202 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.3449, allocations: 4.094 kB / 1.202 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.088e-05/0.345, allocations: 19.92 kB / 1.202 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.289e-05/0.345, allocations: 8 kB / 1.202 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006237/0.3457, allocations: 108 kB / 1.202 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.092e-05/0.3457, allocations: 31.97 kB / 1.202 GB, free: 11.5 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,pul3.booPul.y,$PRE.pul3.booPul.y,pul3.y,$whenCondition5,$whenCondition6,pul1.booPul.y,$PRE.pul1.booPul.y,pul1.y,$whenCondition3,$whenCondition4,pul2.booPul.y,$PRE.pul2.booPul.y,pul2.y,$whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y,pul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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 0.0001875/0.3459, allocations: 153.7 kB / 1.202 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.808e-05/0.346, allocations: 27.86 kB / 1.202 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.142e-05/0.346, allocations: 21.33 kB / 1.202 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.346, allocations: 4 kB / 1.202 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.346, allocations: 0 / 1.202 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.346, allocations: 0 / 1.202 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002535/0.3463, allocations: 181.2 kB / 1.202 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3463, allocations: 0 / 1.202 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.25e-05/0.3463, allocations: 11.98 kB / 1.202 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.3463, allocations: 4 kB / 1.202 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/0.3464, allocations: 8 kB / 1.202 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.3464, allocations: 3.938 kB / 1.202 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3464, allocations: 7.938 kB / 1.202 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003197/0.3467, allocations: 225.8 kB / 1.202 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.185e-05/0.3467, allocations: 15.91 kB / 1.202 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.988e-05/0.3467, allocations: 7.984 kB / 1.202 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.448e-05/0.3468, allocations: 8 kB / 1.202 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.394e-05/0.3468, allocations: 15.92 kB / 1.202 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-05/0.3469, allocations: 11.98 kB / 1.202 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000172/0.347, allocations: 172.4 kB / 1.203 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.347, allocations: 0 / 1.203 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003349/0.3474, allocations: 71.94 kB / 1.203 GB, free: 10.5 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition7,$whenCondition8,pul3.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001701/0.3475, allocations: 111.9 kB / 1.203 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0009596/0.3485, allocations: 0.5978 MB / 1.203 GB, free: 9.711 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3485, allocations: 0 / 1.203 GB, free: 9.711 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001142/0.3486, allocations: 63.83 kB / 1.203 GB, free: 9.648 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004361/0.3491, allocations: 64.89 kB / 1.203 GB, free: 9.586 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006295/0.3497, allocations: 351.5 kB / 1.204 GB, free: 9.207 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001249/0.3498, allocations: 116.9 kB / 1.204 GB, free: 9.07 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 6.519e-05/0.3499, allocations: 21.62 kB / 1.204 GB, free: 9.047 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.405e-05/0.3499, allocations: 23.38 kB / 1.204 GB, free: 9.023 MB / 0.8419 GB Notification: Performance of SimCode: time 3.4e-07/0.3499, allocations: 0 / 1.204 GB, free: 9.023 MB / 0.8419 GB Notification: Performance of Templates: time 0.009553/0.3595, allocations: 5.232 MB / 1.209 GB, free: 3.918 MB / 0.8419 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./AixLib_AixLib.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.594353757798672] Failed to read output from testmodel.py, exit status != 0: 0.3682651072740555 0.382757055 0.042477082 Calling exit ...