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.001098/0.001098, allocations: 100.4 kB / 19.7 MB, free: 448 kB / 13.93 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.001243/0.001243, allocations: 216.9 kB / 23 MB, free: 2.988 MB / 13.93 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.9961/0.9961, allocations: 230.6 MB / 256.8 MB, free: 9.602 MB / 202.7 MB " [Timeout remaining time 179] 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.03803/0.03803, allocations: 12.19 MB / 325.4 MB, free: 6.098 MB / 250.7 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.0005074/0.0005074, allocations: 31.94 kB / 384.8 MB, free: 10.52 MB / 314.7 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 1.868/1.868, allocations: 353.9 MB / 0.7795 GB, free: 4.52 MB / 0.5105 GB " [Timeout remaining time 178] 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.002176/0.002176, allocations: 122.8 kB / 1.061 GB, free: 24.39 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2694/0.2716, allocations: 134.9 MB / 1.193 GB, free: 6.969 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001684/0.2733, allocations: 0.6857 MB / 1.194 GB, free: 6.285 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001173/0.2744, allocations: 1.176 MB / 1.195 GB, free: 5.098 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.117e-05/0.2745, allocations: 4 kB / 1.195 GB, free: 5.094 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.397e-05/0.2745, allocations: 0 / 1.195 GB, free: 5.094 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 8.88e-05/0.2746, allocations: 19.84 kB / 1.195 GB, free: 5.074 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.000435/0.2751, allocations: 136.5 kB / 1.195 GB, free: 4.945 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001576/0.2752, allocations: 115.8 kB / 1.195 GB, free: 4.832 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 9.933e-05/0.2753, allocations: 7.984 kB / 1.195 GB, free: 4.824 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 7.364e-05/0.2754, allocations: 51.84 kB / 1.195 GB, free: 4.773 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 9.155e-05/0.2755, allocations: 35.83 kB / 1.195 GB, free: 4.738 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.059e-05/0.2755, allocations: 12 kB / 1.195 GB, free: 4.727 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 5.746e-05/0.2756, allocations: 31.98 kB / 1.195 GB, free: 4.695 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.38e-05/0.2756, allocations: 8 kB / 1.195 GB, free: 4.688 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 5.198e-05/0.2756, allocations: 31.91 kB / 1.195 GB, free: 4.656 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001697/0.2758, allocations: 135.6 kB / 1.195 GB, free: 4.523 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.2758, allocations: 4 kB / 1.195 GB, free: 4.52 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.953e-06/0.2758, allocations: 0 / 1.195 GB, free: 4.52 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.733e-06/0.2758, allocations: 0 / 1.195 GB, free: 4.52 MB / 0.823 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.0004701/0.2763, allocations: 327.7 kB / 1.196 GB, free: 4.16 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.2763, allocations: 8.031 kB / 1.196 GB, free: 4.152 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.862e-05/0.2764, allocations: 8.891 kB / 1.196 GB, free: 4.145 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.903e-05/0.2765, allocations: 114.5 kB / 1.196 GB, free: 4.008 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.2765, allocations: 8.375 kB / 1.196 GB, free: 4 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.469e-05/0.2765, allocations: 4.375 kB / 1.196 GB, free: 3.996 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.895e-05/0.2766, allocations: 42.25 kB / 1.196 GB, free: 3.949 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.2766, allocations: 192 / 1.196 GB, free: 3.949 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.2766, allocations: 11.92 kB / 1.196 GB, free: 3.938 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.2766, allocations: 0 / 1.196 GB, free: 3.938 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.049e-05/0.2767, allocations: 15.98 kB / 1.196 GB, free: 3.922 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003439/0.277, allocations: 260.4 kB / 1.196 GB, free: 3.637 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.728e-05/0.2771, allocations: 30.52 kB / 1.196 GB, free: 3.598 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.031e-05/0.2771, allocations: 12.86 kB / 1.196 GB, free: 3.582 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.175e-06/0.2771, allocations: 4 kB / 1.196 GB, free: 3.578 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001281/0.2772, allocations: 71.33 kB / 1.196 GB, free: 3.496 MB / 0.823 GB Notification: Performance of pre-optimization done (n=4): time 1.322e-06/0.2772, allocations: 0 / 1.196 GB, free: 3.496 MB / 0.823 GB Notification: Performance of matching and sorting (n=4): time 0.0001771/0.2774, allocations: 77.62 kB / 1.196 GB, free: 3.414 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.158e-05/0.2774, allocations: 51.41 kB / 1.196 GB, free: 3.352 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.701e-05/0.2775, allocations: 125.8 kB / 1.196 GB, free: 3.219 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.2775, allocations: 37.62 kB / 1.196 GB, free: 3.176 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.943e-05/0.2776, allocations: 92.12 kB / 1.197 GB, free: 3.082 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.477e-05/0.2776, allocations: 3.953 kB / 1.197 GB, free: 3.078 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.481e-05/0.2776, allocations: 33.7 kB / 1.197 GB, free: 3.039 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.289e-05/0.2777, allocations: 322.8 kB / 1.197 GB, free: 2.715 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.132e-05/0.2778, allocations: 69.69 kB / 1.197 GB, free: 2.641 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.731e-05/0.2779, allocations: 88.25 kB / 1.197 GB, free: 2.539 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.674e-05/0.278, allocations: 92.2 kB / 1.197 GB, free: 2.434 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.278, allocations: 0 / 1.197 GB, free: 2.434 MB / 0.823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001974/0.2782, allocations: 205 kB / 1.197 GB, free: 2.215 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.651e-05/0.2782, allocations: 43.41 kB / 1.197 GB, free: 2.168 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.2782, allocations: 0 / 1.197 GB, free: 2.168 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.2782, allocations: 4.062 kB / 1.197 GB, free: 2.164 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.335e-05/0.2783, allocations: 4 kB / 1.197 GB, free: 2.16 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.2783, allocations: 8 kB / 1.197 GB, free: 2.152 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001234/0.2784, allocations: 27.92 kB / 1.197 GB, free: 2.125 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.294e-05/0.2784, allocations: 4 kB / 1.197 GB, free: 2.121 MB / 0.823 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 7.71e-05/0.2785, allocations: 125.8 kB / 1.198 GB, free: 1.988 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.713e-06/0.2785, allocations: 4 kB / 1.198 GB, free: 1.984 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.511e-05/0.2785, allocations: 8 kB / 1.198 GB, free: 1.969 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.2785, allocations: 4 kB / 1.198 GB, free: 1.965 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.2785, allocations: 0 / 1.198 GB, free: 1.965 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.2786, allocations: 0 / 1.198 GB, free: 1.965 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.472e-05/0.2786, allocations: 117.3 kB / 1.198 GB, free: 1.82 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.2786, allocations: 3.938 kB / 1.198 GB, free: 1.816 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.755e-06/0.2786, allocations: 3.938 kB / 1.198 GB, free: 1.812 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-06/0.2786, allocations: 0 / 1.198 GB, free: 1.812 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.2786, allocations: 8 kB / 1.198 GB, free: 1.805 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.2786, allocations: 0 / 1.198 GB, free: 1.805 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2786, allocations: 0 / 1.198 GB, free: 1.805 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.437e-05/0.2787, allocations: 89.02 kB / 1.198 GB, free: 1.699 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.698e-05/0.2787, allocations: 19.88 kB / 1.198 GB, free: 1.68 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.184e-05/0.2788, allocations: 4 kB / 1.198 GB, free: 1.676 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.24e-05/0.2788, allocations: 0 / 1.198 GB, free: 1.676 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.583e-05/0.2788, allocations: 0 / 1.198 GB, free: 1.676 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.2788, allocations: 4 kB / 1.198 GB, free: 1.672 MB / 0.823 GB Notification: Performance of sorting global known variables: time 4.739e-05/0.2789, allocations: 99.27 kB / 1.198 GB, free: 1.574 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.2789, allocations: 0 / 1.198 GB, free: 1.574 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001428/0.279, allocations: 23.88 kB / 1.198 GB, free: 1.551 MB / 0.823 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.000133/0.2791, allocations: 99.23 kB / 1.198 GB, free: 1.445 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001869/0.2793, allocations: 161.3 kB / 1.198 GB, free: 1.27 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2793, allocations: 0 / 1.198 GB, free: 1.27 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 2.891e-05/0.2793, allocations: 12.09 kB / 1.198 GB, free: 1.258 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001704/0.2795, allocations: 21.56 kB / 1.198 GB, free: 1.238 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003051/0.2798, allocations: 179.6 kB / 1.198 GB, free: 1.031 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.632e-05/0.2799, allocations: 63.59 kB / 1.198 GB, free: 0.9492 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.943e-05/0.2799, allocations: 15.56 kB / 1.198 GB, free: 0.9336 MB / 0.823 GB Notification: Performance of SimCode: time 1.102e-06/0.2799, allocations: 0 / 1.198 GB, free: 0.9336 MB / 0.823 GB Notification: Performance of Templates: time 0.002055/0.2819, allocations: 1.176 MB / 1.2 GB, free: 15.77 MB / 0.8387 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: 7.835428152233362] Failed to read output from testmodel.py, exit status != 0: 0.2899393895640969 0.303279827 0.024999709000000002 Calling exit ...