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.001743/0.001743, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002161/0.002161, allocations: 218.7 kB / 22.26 MB, free: 5.121 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.514/1.514, allocations: 230.6 MB / 256 MB, free: 7.984 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.06556/0.06556, allocations: 12.18 MB / 324.6 MB, free: 7.266 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.0007804/0.0007804, allocations: 28.11 kB / 384.1 MB, free: 46.56 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.761/2.761, allocations: 353.8 MB / 0.7787 GB, free: 1.031 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.00359/0.00359, allocations: 119.2 kB / 1.061 GB, free: 13.01 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3481/0.3517, allocations: 134.9 MB / 1.192 GB, free: 6.191 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.00306/0.3547, allocations: 0.7169 MB / 1.193 GB, free: 5.477 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 0.002781/0.3575, allocations: 1.192 MB / 1.194 GB, free: 4.273 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.484e-05/0.3576, allocations: 0 / 1.194 GB, free: 4.273 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 4.426e-05/0.3576, allocations: 7.938 kB / 1.194 GB, free: 4.266 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 0.0001277/0.3577, allocations: 11.94 kB / 1.194 GB, free: 4.254 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008115/0.3586, allocations: 138.2 kB / 1.194 GB, free: 4.125 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.000339/0.3589, allocations: 127.7 kB / 1.194 GB, free: 4 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.359, allocations: 11.98 kB / 1.194 GB, free: 3.988 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001556/0.3592, allocations: 47.91 kB / 1.194 GB, free: 3.941 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001613/0.3593, allocations: 35.89 kB / 1.195 GB, free: 3.906 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 4.168e-05/0.3594, allocations: 12 kB / 1.195 GB, free: 3.895 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001103/0.3595, allocations: 27.98 kB / 1.195 GB, free: 3.867 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 3.637e-05/0.3595, allocations: 15.92 kB / 1.195 GB, free: 3.852 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 0.0001042/0.3596, allocations: 43.8 kB / 1.195 GB, free: 3.809 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.0003352/0.36, allocations: 131.6 kB / 1.195 GB, free: 3.68 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.36, allocations: 0 / 1.195 GB, free: 3.68 MB / 0.8263 GB Notification: Performance of FrontEnd: time 1.823e-06/0.36, allocations: 0 / 1.195 GB, free: 3.68 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 1.109e-05/0.36, allocations: 0 / 1.195 GB, free: 3.68 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.000726/0.3607, allocations: 323.8 kB / 1.195 GB, free: 3.324 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/0.3608, allocations: 11.98 kB / 1.195 GB, free: 3.312 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.389e-05/0.3608, allocations: 8.891 kB / 1.195 GB, free: 3.305 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001894/0.361, allocations: 114.5 kB / 1.195 GB, free: 3.168 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.889e-05/0.3611, allocations: 8.375 kB / 1.195 GB, free: 3.16 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.104e-05/0.3611, allocations: 8.375 kB / 1.195 GB, free: 3.152 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.3612, allocations: 42.25 kB / 1.195 GB, free: 3.105 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.3613, allocations: 192 / 1.195 GB, free: 3.105 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.558e-05/0.3613, allocations: 7.875 kB / 1.195 GB, free: 3.098 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.3613, allocations: 0 / 1.195 GB, free: 3.098 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.255e-05/0.3613, allocations: 19.92 kB / 1.195 GB, free: 3.078 MB / 0.8263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006743/0.362, allocations: 303.8 kB / 1.196 GB, free: 2.738 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001061/0.3621, allocations: 34.52 kB / 1.196 GB, free: 2.695 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.974e-05/0.3622, allocations: 12.92 kB / 1.196 GB, free: 2.68 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 1.372e-05/0.3622, allocations: 3.938 kB / 1.196 GB, free: 2.676 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002477/0.3624, allocations: 63.33 kB / 1.196 GB, free: 2.602 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=4): time 1.714e-06/0.3624, allocations: 0 / 1.196 GB, free: 2.602 MB / 0.8263 GB Notification: Performance of matching and sorting (n=4): time 0.0003216/0.3628, allocations: 81.62 kB / 1.196 GB, free: 2.516 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.396e-05/0.3628, allocations: 55.41 kB / 1.196 GB, free: 2.449 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001846/0.363, allocations: 121.8 kB / 1.196 GB, free: 2.32 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 4.162e-05/0.363, allocations: 29.7 kB / 1.196 GB, free: 2.285 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.3632, allocations: 92.12 kB / 1.196 GB, free: 2.191 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 2.18e-05/0.3632, allocations: 7.953 kB / 1.196 GB, free: 2.184 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/0.3633, allocations: 33.64 kB / 1.196 GB, free: 2.145 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.0002141/0.3635, allocations: 318.8 kB / 1.196 GB, free: 1.824 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001525/0.3636, allocations: 35.98 kB / 1.196 GB, free: 1.789 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001722/0.3638, allocations: 58.56 kB / 1.196 GB, free: 1.723 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002197/0.364, allocations: 96.27 kB / 1.197 GB, free: 1.613 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.364, allocations: 0 / 1.197 GB, free: 1.613 MB / 0.8263 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004908/0.3645, allocations: 163.2 kB / 1.197 GB, free: 1.441 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 6.58e-05/0.3646, allocations: 45.62 kB / 1.197 GB, free: 1.391 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.3646, allocations: 4.062 kB / 1.197 GB, free: 1.387 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.3646, allocations: 0 / 1.197 GB, free: 1.387 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.679e-05/0.3647, allocations: 4 kB / 1.197 GB, free: 1.383 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.3647, allocations: 0 / 1.197 GB, free: 1.383 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002992/0.365, allocations: 27.92 kB / 1.197 GB, free: 1.355 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.297e-05/0.365, allocations: 8 kB / 1.197 GB, free: 1.348 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.0001653/0.3652, allocations: 125.8 kB / 1.197 GB, free: 1.215 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.761e-05/0.3652, allocations: 4 kB / 1.197 GB, free: 1.211 MB / 0.8263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.328e-05/0.3653, allocations: 8.234 kB / 1.197 GB, free: 1.195 MB / 0.8263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.225e-06/0.3653, allocations: 3.984 kB / 1.197 GB, free: 1.191 MB / 0.8263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.3653, allocations: 3.938 kB / 1.197 GB, free: 1.188 MB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.3653, allocations: 0 / 1.197 GB, free: 1.188 MB / 0.8263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002249/0.3655, allocations: 152.7 kB / 1.197 GB, free: 0.9961 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.3655, allocations: 0 / 1.197 GB, free: 0.9961 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.334e-05/0.3655, allocations: 0 / 1.197 GB, free: 0.9961 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.3655, allocations: 0 / 1.197 GB, free: 0.9961 MB / 0.8263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.3655, allocations: 4 kB / 1.197 GB, free: 0.9922 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.3655, allocations: 0 / 1.197 GB, free: 0.9922 MB / 0.8263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.3655, allocations: 7.938 kB / 1.197 GB, free: 0.9844 MB / 0.8263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002063/0.3657, allocations: 93 kB / 1.197 GB, free: 0.875 MB / 0.8263 GB Notification: Performance of postOpt removeConstants (simulation): time 2.368e-05/0.3658, allocations: 11.89 kB / 1.197 GB, free: 0.8633 MB / 0.8263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.232e-05/0.3658, allocations: 3.938 kB / 1.197 GB, free: 0.8594 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.246e-05/0.3658, allocations: 0 / 1.197 GB, free: 0.8594 MB / 0.8263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.218e-05/0.3659, allocations: 4 kB / 1.197 GB, free: 0.8555 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.3659, allocations: 7.984 kB / 1.197 GB, free: 0.8477 MB / 0.8263 GB Notification: Performance of sorting global known variables: time 0.0001214/0.366, allocations: 103.3 kB / 1.197 GB, free: 0.7461 MB / 0.8263 GB Notification: Performance of sort global known variables: time 1.9e-07/0.366, allocations: 0 / 1.197 GB, free: 0.7461 MB / 0.8263 GB Notification: Performance of remove unused functions: time 0.0004055/0.3664, allocations: 16 kB / 1.197 GB, free: 0.7305 MB / 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.0002183/0.3666, allocations: 99.23 kB / 1.197 GB, free: 0.625 MB / 0.8263 GB Notification: Performance of simCode: created initialization part: time 0.0003859/0.367, allocations: 123.3 kB / 1.198 GB, free: 0.4922 MB / 0.8263 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.367, allocations: 0 / 1.198 GB, free: 0.4922 MB / 0.8263 GB Notification: Performance of simCode: created simulation system equations: time 7.963e-05/0.3671, allocations: 15.98 kB / 1.198 GB, free: 488 kB / 0.8263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003859/0.3675, allocations: 25.61 kB / 1.198 GB, free: 464 kB / 0.8263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005567/0.368, allocations: 142.1 kB / 1.198 GB, free: 296 kB / 0.8263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005385/0.3686, allocations: 0.6885 MB / 1.198 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 4.426e-05/0.3686, allocations: 4 kB / 1.198 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.261e-05/0.3687, allocations: 7.438 kB / 1.198 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of SimCode: time 5.31e-07/0.3687, allocations: 0 / 1.198 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of Templates: time 0.006834/0.3755, allocations: 1.372 MB / 1.2 GB, free: 14.23 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.468808148056269] Failed to read output from testmodel.py, exit status != 0: 0.3849898688495159 0.412077521 0.046978084 Calling exit ...