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.0008563/0.0008563, allocations: 115 kB / 19.7 MB, free: 0.5273 MB / 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.00099/0.00099, allocations: 215.9 kB / 23.01 MB, free: 3.109 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.8872/0.8872, allocations: 230.6 MB / 256.8 MB, free: 3.461 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.03614/0.03614, allocations: 12.19 MB / 325.4 MB, free: 3.426 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.0004063/0.0004063, allocations: 27.03 kB / 384.9 MB, free: 45.75 MB / 298.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.61/1.61, allocations: 353.8 MB / 0.7795 GB, free: 13.03 MB / 0.5262 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.002193/0.002193, allocations: 122.6 kB / 1.061 GB, free: 9.359 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.221/0.2232, allocations: 134.9 MB / 1.193 GB, free: 2.539 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001401/0.2246, allocations: 0.7153 MB / 1.194 GB, free: 1.828 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001002/0.2256, allocations: 1.182 MB / 1.195 GB, free: 0.6328 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.581e-05/0.2256, allocations: 0 / 1.195 GB, free: 0.6328 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.404e-05/0.2257, allocations: 3.938 kB / 1.195 GB, free: 0.6289 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 7.611e-05/0.2257, allocations: 19.91 kB / 1.195 GB, free: 0.6094 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003745/0.2261, allocations: 130.7 kB / 1.195 GB, free: 496 kB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001524/0.2263, allocations: 127.8 kB / 1.195 GB, free: 368 kB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 8.609e-05/0.2263, allocations: 11.92 kB / 1.195 GB, free: 356 kB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 6.802e-05/0.2264, allocations: 47.91 kB / 1.195 GB, free: 308 kB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 8.858e-05/0.2265, allocations: 39.89 kB / 1.195 GB, free: 268 kB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.2265, allocations: 12 kB / 1.195 GB, free: 256 kB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 5.359e-05/0.2266, allocations: 23.98 kB / 1.195 GB, free: 232 kB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.985e-05/0.2266, allocations: 11.94 kB / 1.195 GB, free: 220 kB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 5.108e-05/0.2266, allocations: 47.83 kB / 1.195 GB, free: 172 kB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001482/0.2268, allocations: 135.6 kB / 1.195 GB, free: 36 kB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.2268, allocations: 0 / 1.195 GB, free: 36 kB / 0.823 GB Notification: Performance of FrontEnd: time 1.924e-06/0.2268, allocations: 0 / 1.195 GB, free: 36 kB / 0.823 GB Notification: Performance of Transformations before backend: time 6.572e-06/0.2268, allocations: 4 kB / 1.195 GB, free: 32 kB / 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.0004068/0.2272, allocations: 319.8 kB / 1.196 GB, free: 15.68 MB / 0.8387 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.2273, allocations: 11.98 kB / 1.196 GB, free: 15.67 MB / 0.8387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.127e-05/0.2273, allocations: 12.89 kB / 1.196 GB, free: 15.66 MB / 0.8387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.033e-05/0.2274, allocations: 110.5 kB / 1.196 GB, free: 15.52 MB / 0.8387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.2274, allocations: 4.375 kB / 1.196 GB, free: 15.52 MB / 0.8387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.745e-05/0.2274, allocations: 8.359 kB / 1.196 GB, free: 15.51 MB / 0.8387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.798e-05/0.2275, allocations: 50.23 kB / 1.196 GB, free: 15.46 MB / 0.8387 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.2275, allocations: 192 / 1.196 GB, free: 15.46 MB / 0.8387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/0.2275, allocations: 7.938 kB / 1.196 GB, free: 15.45 MB / 0.8387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.2275, allocations: 7.875 kB / 1.196 GB, free: 15.44 MB / 0.8387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.338e-05/0.2276, allocations: 15.94 kB / 1.196 GB, free: 15.43 MB / 0.8387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003258/0.2279, allocations: 303.8 kB / 1.196 GB, free: 15.09 MB / 0.8387 GB Notification: Performance of preOpt comSubExp (simulation): time 4.732e-05/0.2279, allocations: 26.52 kB / 1.196 GB, free: 15.05 MB / 0.8387 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.884e-05/0.2279, allocations: 16.91 kB / 1.196 GB, free: 15.03 MB / 0.8387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.048e-05/0.228, allocations: 4 kB / 1.196 GB, free: 15.03 MB / 0.8387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001016/0.2281, allocations: 67.33 kB / 1.196 GB, free: 14.95 MB / 0.8387 GB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.2281, allocations: 0 / 1.196 GB, free: 14.95 MB / 0.8387 GB Notification: Performance of matching and sorting (n=4): time 0.0001638/0.2282, allocations: 73.64 kB / 1.196 GB, free: 14.87 MB / 0.8387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.018e-05/0.2283, allocations: 51.41 kB / 1.196 GB, free: 14.81 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.056e-05/0.2283, allocations: 129.4 kB / 1.197 GB, free: 14.68 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.2283, allocations: 29.7 kB / 1.197 GB, free: 14.64 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 4.298e-05/0.2284, allocations: 96.12 kB / 1.197 GB, free: 14.54 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 9.848e-06/0.2284, allocations: 3.953 kB / 1.197 GB, free: 14.54 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.936e-05/0.2284, allocations: 33.7 kB / 1.197 GB, free: 14.5 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 6.796e-05/0.2285, allocations: 322.8 kB / 1.197 GB, free: 14.18 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.672e-05/0.2286, allocations: 35.98 kB / 1.197 GB, free: 14.14 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.265e-05/0.2286, allocations: 58.55 kB / 1.197 GB, free: 14.07 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.266e-05/0.2287, allocations: 92.22 kB / 1.197 GB, free: 13.97 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.2287, allocations: 64 / 1.197 GB, free: 13.97 MB / 0.8387 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001731/0.2289, allocations: 171.2 kB / 1.197 GB, free: 13.79 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 2.936e-05/0.2289, allocations: 37.7 kB / 1.197 GB, free: 13.75 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.2289, allocations: 3.938 kB / 1.197 GB, free: 13.74 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.2289, allocations: 4 kB / 1.197 GB, free: 13.74 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.508e-05/0.229, allocations: 0 / 1.197 GB, free: 13.74 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.229, allocations: 0 / 1.197 GB, free: 13.74 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001134/0.2291, allocations: 35.98 kB / 1.198 GB, free: 13.7 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.2291, allocations: 7.984 kB / 1.198 GB, free: 13.7 MB / 0.8387 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.845e-05/0.2292, allocations: 117.8 kB / 1.198 GB, free: 13.57 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.612e-06/0.2292, allocations: 4 kB / 1.198 GB, free: 13.57 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.147e-05/0.2292, allocations: 8 kB / 1.198 GB, free: 13.55 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.2292, allocations: 0 / 1.198 GB, free: 13.55 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.2292, allocations: 7.984 kB / 1.198 GB, free: 13.54 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.2292, allocations: 3.938 kB / 1.198 GB, free: 13.54 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.645e-05/0.2293, allocations: 144.7 kB / 1.198 GB, free: 13.36 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.2293, allocations: 0 / 1.198 GB, free: 13.36 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.614e-06/0.2293, allocations: 4 kB / 1.198 GB, free: 13.35 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.71e-07/0.2293, allocations: 0 / 1.198 GB, free: 13.35 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.451e-06/0.2293, allocations: 3.938 kB / 1.198 GB, free: 13.35 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.2293, allocations: 3.984 kB / 1.198 GB, free: 13.34 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.2293, allocations: 3.938 kB / 1.198 GB, free: 13.34 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.283e-05/0.2294, allocations: 97.23 kB / 1.198 GB, free: 13.23 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 8.566e-06/0.2294, allocations: 11.95 kB / 1.198 GB, free: 13.21 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.787e-06/0.2294, allocations: 0 / 1.198 GB, free: 13.21 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.357e-05/0.2294, allocations: 4 kB / 1.198 GB, free: 13.21 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.663e-05/0.2294, allocations: 3.984 kB / 1.198 GB, free: 13.21 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/0.2295, allocations: 4 kB / 1.198 GB, free: 13.2 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 3.872e-05/0.2295, allocations: 95.27 kB / 1.198 GB, free: 13.11 MB / 0.8387 GB Notification: Performance of sort global known variables: time 5.1e-08/0.2295, allocations: 0 / 1.198 GB, free: 13.11 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0001425/0.2296, allocations: 23.94 kB / 1.198 GB, free: 13.09 MB / 0.8387 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.0001068/0.2297, allocations: 103.2 kB / 1.198 GB, free: 12.98 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0001562/0.2299, allocations: 123.3 kB / 1.198 GB, free: 12.84 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.532e-06/0.2299, allocations: 0 / 1.198 GB, free: 12.84 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 2.51e-05/0.2299, allocations: 12 kB / 1.198 GB, free: 12.83 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001604/0.2301, allocations: 19.92 kB / 1.198 GB, free: 12.81 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002396/0.2303, allocations: 175.8 kB / 1.198 GB, free: 12.61 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001643/0.2305, allocations: 0.6906 MB / 1.199 GB, free: 11.89 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.527e-05/0.2305, allocations: 7.438 kB / 1.199 GB, free: 11.89 MB / 0.8387 GB Notification: Performance of SimCode: time 4.21e-07/0.2305, allocations: 0 / 1.199 GB, free: 11.89 MB / 0.8387 GB Notification: Performance of Templates: time 0.002152/0.2327, allocations: 1.163 MB / 1.2 GB, free: 10.75 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: 6.973445889540017] Failed to read output from testmodel.py, exit status != 0: 0.2387493411079049 0.24548913200000003 0.016950887 Calling exit ...