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/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.001457/0.001457, 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.001547/0.001547, allocations: 210.5 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.521/1.521, allocations: 230.6 MB / 256 MB, free: 7.805 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.06126/0.06126, allocations: 12.19 MB / 324.6 MB, free: 7.074 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.0007261/0.0007261, allocations: 32.38 kB / 384.1 MB, free: 47.51 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.551/2.551, allocations: 353.9 MB / 0.7787 GB, free: 1.645 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.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: 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.003495/0.003495, allocations: 118.4 kB / 1.06 GB, free: 12.59 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3207/0.3242, allocations: 134.9 MB / 1.192 GB, free: 5.805 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.002193/0.3264, allocations: 0.7038 MB / 1.193 GB, free: 5.105 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 0.001798/0.3282, allocations: 1.157 MB / 1.194 GB, free: 3.938 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.401e-05/0.3283, allocations: 4 kB / 1.194 GB, free: 3.934 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 3.178e-05/0.3283, allocations: 3.938 kB / 1.194 GB, free: 3.93 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 9.158e-05/0.3284, allocations: 23.84 kB / 1.194 GB, free: 3.906 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005366/0.3289, allocations: 132.2 kB / 1.194 GB, free: 3.781 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.0001955/0.3291, allocations: 123.8 kB / 1.194 GB, free: 3.66 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 8.998e-05/0.3292, allocations: 7.969 kB / 1.194 GB, free: 3.652 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 8.197e-05/0.3293, allocations: 43.92 kB / 1.194 GB, free: 3.609 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001038/0.3294, allocations: 43.77 kB / 1.194 GB, free: 3.566 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 3.141e-05/0.3294, allocations: 12 kB / 1.194 GB, free: 3.555 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 7.095e-05/0.3295, allocations: 23.98 kB / 1.194 GB, free: 3.531 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 2.274e-05/0.3295, allocations: 19.92 kB / 1.194 GB, free: 3.512 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 6.867e-05/0.3296, allocations: 39.84 kB / 1.194 GB, free: 3.473 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.0002232/0.3298, allocations: 127.6 kB / 1.195 GB, free: 3.348 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.3298, allocations: 0 / 1.195 GB, free: 3.348 MB / 0.8263 GB Notification: Performance of FrontEnd: time 1.373e-06/0.3298, allocations: 0 / 1.195 GB, free: 3.348 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.3298, allocations: 0 / 1.195 GB, free: 3.348 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005632/0.3304, allocations: 323.8 kB / 1.195 GB, free: 2.992 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.3305, allocations: 15.98 kB / 1.195 GB, free: 2.977 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.885e-05/0.3305, allocations: 8.891 kB / 1.195 GB, free: 2.969 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/0.3306, allocations: 110.5 kB / 1.195 GB, free: 2.836 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.3307, allocations: 8.359 kB / 1.195 GB, free: 2.828 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.221e-05/0.3307, allocations: 8.375 kB / 1.195 GB, free: 2.82 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001122/0.3308, allocations: 50.12 kB / 1.195 GB, free: 2.766 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.3308, allocations: 192 / 1.195 GB, free: 2.766 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.3308, allocations: 3.938 kB / 1.195 GB, free: 2.762 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.3308, allocations: 4 kB / 1.195 GB, free: 2.758 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.074e-05/0.3309, allocations: 8 kB / 1.195 GB, free: 2.75 MB / 0.8263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004724/0.3313, allocations: 264.4 kB / 1.195 GB, free: 2.461 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 9.84e-05/0.3314, allocations: 26.52 kB / 1.195 GB, free: 2.426 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.965e-05/0.3315, allocations: 16.86 kB / 1.195 GB, free: 2.406 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 1.158e-05/0.3315, allocations: 4 kB / 1.195 GB, free: 2.402 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001567/0.3316, allocations: 71.38 kB / 1.195 GB, free: 2.32 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.3316, allocations: 0 / 1.195 GB, free: 2.32 MB / 0.8263 GB Notification: Performance of matching and sorting (n=4): time 0.0002164/0.3319, allocations: 73.64 kB / 1.196 GB, free: 2.242 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.244e-05/0.3319, allocations: 55.34 kB / 1.196 GB, free: 2.176 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/0.3321, allocations: 125.8 kB / 1.196 GB, free: 2.043 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 3.107e-05/0.3321, allocations: 29.7 kB / 1.196 GB, free: 2.008 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 7.509e-05/0.3322, allocations: 88.14 kB / 1.196 GB, free: 1.918 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 1.552e-05/0.3322, allocations: 7.953 kB / 1.196 GB, free: 1.91 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.149e-05/0.3323, allocations: 29.7 kB / 1.196 GB, free: 1.875 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.0001864/0.3325, allocations: 318.8 kB / 1.196 GB, free: 1.555 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001536/0.3326, allocations: 69.69 kB / 1.196 GB, free: 1.48 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001276/0.3327, allocations: 92.25 kB / 1.196 GB, free: 1.375 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001321/0.3329, allocations: 92.2 kB / 1.196 GB, free: 1.27 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.3329, allocations: 0 / 1.196 GB, free: 1.27 MB / 0.8263 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003856/0.3333, allocations: 205 kB / 1.197 GB, free: 1.051 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 4.588e-05/0.3333, allocations: 39.41 kB / 1.197 GB, free: 1.008 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.3333, allocations: 0 / 1.197 GB, free: 1.008 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.3333, allocations: 4 kB / 1.197 GB, free: 1.004 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.031e-05/0.3334, allocations: 8 kB / 1.197 GB, free: 0.9961 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.3334, allocations: 4 kB / 1.197 GB, free: 0.9922 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001984/0.3336, allocations: 32.16 kB / 1.197 GB, free: 0.9609 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.32e-05/0.3336, allocations: 7.984 kB / 1.197 GB, free: 0.9531 MB / 0.8263 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 0.0001132/0.3337, allocations: 117.8 kB / 1.197 GB, free: 0.8281 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.477e-05/0.3337, allocations: 7.984 kB / 1.197 GB, free: 0.8203 MB / 0.8263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.19e-05/0.3338, allocations: 7.938 kB / 1.197 GB, free: 0.8047 MB / 0.8263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.3338, allocations: 4 kB / 1.197 GB, free: 0.8008 MB / 0.8263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.3338, allocations: 0 / 1.197 GB, free: 0.8008 MB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3338, allocations: 4 kB / 1.197 GB, free: 0.7969 MB / 0.8263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001241/0.3339, allocations: 117.3 kB / 1.197 GB, free: 0.6523 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-06/0.3339, allocations: 3.938 kB / 1.197 GB, free: 0.6484 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.848e-05/0.3339, allocations: 7.938 kB / 1.197 GB, free: 0.6406 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.3339, allocations: 0 / 1.197 GB, free: 0.6406 MB / 0.8263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.3339, allocations: 0 / 1.197 GB, free: 0.6406 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3339, allocations: 0 / 1.197 GB, free: 0.6406 MB / 0.8263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3339, allocations: 0 / 1.197 GB, free: 0.6406 MB / 0.8263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001423/0.3341, allocations: 93.06 kB / 1.197 GB, free: 0.5312 MB / 0.8263 GB Notification: Performance of postOpt removeConstants (simulation): time 1.968e-05/0.3341, allocations: 15.83 kB / 1.197 GB, free: 0.5156 MB / 0.8263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.422e-05/0.3341, allocations: 0 / 1.197 GB, free: 0.5156 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.149e-05/0.3341, allocations: 8 kB / 1.197 GB, free: 0.5078 MB / 0.8263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.994e-05/0.3342, allocations: 7.984 kB / 1.197 GB, free: 0.5 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.3342, allocations: 0 / 1.197 GB, free: 0.5 MB / 0.8263 GB Notification: Performance of sorting global known variables: time 7.506e-05/0.3342, allocations: 99.92 kB / 1.197 GB, free: 412 kB / 0.8263 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3342, allocations: 0 / 1.197 GB, free: 412 kB / 0.8263 GB Notification: Performance of remove unused functions: time 0.0002561/0.3345, allocations: 16 kB / 1.197 GB, free: 396 kB / 0.8263 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.0001513/0.3346, allocations: 101.8 kB / 1.197 GB, free: 288 kB / 0.8263 GB Notification: Performance of simCode: created initialization part: time 0.0002639/0.3349, allocations: 153.1 kB / 1.197 GB, free: 116 kB / 0.8263 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3349, allocations: 4.125 kB / 1.197 GB, free: 112 kB / 0.8263 GB Notification: Performance of simCode: created simulation system equations: time 4.246e-05/0.335, allocations: 19.92 kB / 1.197 GB, free: 92 kB / 0.8263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002404/0.3352, allocations: 24.52 kB / 1.197 GB, free: 68 kB / 0.8263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003564/0.3356, allocations: 150.2 kB / 1.198 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001075/0.3357, allocations: 63.34 kB / 1.198 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 2.568e-05/0.3357, allocations: 4 kB / 1.198 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.873e-05/0.3357, allocations: 19.42 kB / 1.198 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of SimCode: time 3.21e-07/0.3357, allocations: 0 / 1.198 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of Templates: time 0.005083/0.3408, allocations: 1.509 MB / 1.199 GB, free: 14.32 MB / 0.8419 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=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.577095579355955] Failed to read output from testmodel.py, exit status != 0: 0.3492724187672138 0.365665198 0.032628659000000004 Calling exit ...