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.001239/0.001239, allocations: 117.6 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.000838/0.000838, allocations: 215.9 kB / 23.01 MB, free: 3.098 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.9059/0.9059, allocations: 230.6 MB / 256.8 MB, free: 9.801 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.0367/0.0367, allocations: 12.17 MB / 325.4 MB, free: 6.371 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.0004159/0.0004159, allocations: 27.94 kB / 384.9 MB, free: 10.77 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.642/1.642, allocations: 353.8 MB / 0.7794 GB, free: 3.043 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.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.001325/0.001325, allocations: 122.3 kB / 1.061 GB, free: 24.75 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2059/0.2073, allocations: 134.9 MB / 1.193 GB, free: 7.379 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.001506/0.2088, allocations: 0.9493 MB / 1.194 GB, free: 6.434 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001298/0.2101, allocations: 1.499 MB / 1.195 GB, free: 4.922 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.316e-05/0.2101, allocations: 0 / 1.195 GB, free: 4.922 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.965e-05/0.2102, allocations: 19.75 kB / 1.195 GB, free: 4.902 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001126/0.2103, allocations: 55.58 kB / 1.195 GB, free: 4.848 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007295/0.211, allocations: 449.8 kB / 1.196 GB, free: 4.418 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.000516/0.2115, allocations: 495.1 kB / 1.196 GB, free: 3.934 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.2116, allocations: 37.81 kB / 1.196 GB, free: 3.895 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001516/0.2118, allocations: 183.6 kB / 1.197 GB, free: 3.715 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001682/0.212, allocations: 167.4 kB / 1.197 GB, free: 3.551 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 4.502e-05/0.212, allocations: 52 kB / 1.197 GB, free: 3.5 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 8.186e-05/0.2121, allocations: 55.98 kB / 1.197 GB, free: 3.445 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.918e-05/0.2121, allocations: 39.84 kB / 1.197 GB, free: 3.406 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001159/0.2122, allocations: 171.4 kB / 1.197 GB, free: 3.238 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0003429/0.2126, allocations: 0.4906 MB / 1.198 GB, free: 2.746 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.2126, allocations: 4 kB / 1.198 GB, free: 2.742 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2126, allocations: 0 / 1.198 GB, free: 2.742 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.2126, allocations: 4 kB / 1.198 GB, free: 2.738 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000571/0.2132, allocations: 0.5586 MB / 1.198 GB, free: 2.121 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.2132, allocations: 11.97 kB / 1.198 GB, free: 2.109 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.414e-05/0.2132, allocations: 32.8 kB / 1.198 GB, free: 2.078 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.2134, allocations: 169.2 kB / 1.198 GB, free: 1.891 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.248e-05/0.2134, allocations: 12.38 kB / 1.198 GB, free: 1.879 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.909e-05/0.2134, allocations: 20.38 kB / 1.198 GB, free: 1.859 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/0.2136, allocations: 125.6 kB / 1.198 GB, free: 1.719 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.2136, allocations: 192 / 1.198 GB, free: 1.719 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.2136, allocations: 11.92 kB / 1.198 GB, free: 1.707 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.2136, allocations: 0 / 1.198 GB, free: 1.707 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.619e-05/0.2137, allocations: 55.92 kB / 1.198 GB, free: 1.652 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006412/0.2143, allocations: 0.8397 MB / 1.199 GB, free: 0.7578 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000111/0.2144, allocations: 114.4 kB / 1.199 GB, free: 0.6094 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.683e-05/0.2145, allocations: 55.48 kB / 1.199 GB, free: 0.543 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.032e-05/0.2145, allocations: 7.938 kB / 1.199 GB, free: 0.5352 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001742/0.2147, allocations: 180 kB / 1.2 GB, free: 344 kB / 0.823 GB Notification: Performance of pre-optimization done (n=16): time 1.533e-06/0.2147, allocations: 0 / 1.2 GB, free: 344 kB / 0.823 GB Notification: Performance of matching and sorting (n=16): time 0.0003087/0.215, allocations: 229.9 kB / 1.2 GB, free: 108 kB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.176e-05/0.215, allocations: 136.5 kB / 1.2 GB, free: 15.94 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001655/0.2152, allocations: 244.8 kB / 1.2 GB, free: 15.7 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 3.23e-05/0.2152, allocations: 37.7 kB / 1.2 GB, free: 15.65 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 7.326e-05/0.2153, allocations: 128.5 kB / 1.2 GB, free: 15.52 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 2.266e-05/0.2153, allocations: 31.78 kB / 1.2 GB, free: 15.49 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.2154, allocations: 97.66 kB / 1.201 GB, free: 15.39 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 7.949e-05/0.2155, allocations: 334.8 kB / 1.201 GB, free: 15.05 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001995/0.2157, allocations: 148.1 kB / 1.201 GB, free: 14.9 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002137/0.2159, allocations: 222.7 kB / 1.201 GB, free: 14.65 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002757/0.2162, allocations: 368.9 kB / 1.202 GB, free: 14.23 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.2162, allocations: 0 / 1.202 GB, free: 14.23 MB / 0.8387 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005666/0.2168, allocations: 0.5546 MB / 1.202 GB, free: 13.64 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 6.289e-05/0.2168, allocations: 138.8 kB / 1.202 GB, free: 13.48 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.2168, allocations: 4.25 kB / 1.202 GB, free: 13.48 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.2169, allocations: 8 kB / 1.202 GB, free: 13.47 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.064e-05/0.2169, allocations: 15.98 kB / 1.202 GB, free: 13.45 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.2169, allocations: 11.92 kB / 1.202 GB, free: 13.44 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000316/0.2172, allocations: 119.6 kB / 1.202 GB, free: 13.32 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.312e-05/0.2173, allocations: 27.98 kB / 1.202 GB, free: 13.3 MB / 0.8387 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.000108/0.2174, allocations: 153.7 kB / 1.203 GB, free: 13.14 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.111e-05/0.2174, allocations: 23.86 kB / 1.203 GB, free: 13.11 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.377e-05/0.2174, allocations: 21.33 kB / 1.203 GB, free: 13.09 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.2174, allocations: 4 kB / 1.203 GB, free: 13.08 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.2174, allocations: 0 / 1.203 GB, free: 13.08 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.2175, allocations: 7.938 kB / 1.203 GB, free: 13.07 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002868/0.2177, allocations: 228.6 kB / 1.203 GB, free: 12.81 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.2177, allocations: 0 / 1.203 GB, free: 12.81 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.176e-05/0.2178, allocations: 8 kB / 1.203 GB, free: 12.8 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-06/0.2178, allocations: 7.984 kB / 1.203 GB, free: 12.79 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.2178, allocations: 4 kB / 1.203 GB, free: 12.79 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.2178, allocations: 0 / 1.203 GB, free: 12.79 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2178, allocations: 0 / 1.203 GB, free: 12.79 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001918/0.218, allocations: 229.5 kB / 1.203 GB, free: 12.54 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 2.026e-05/0.218, allocations: 15.84 kB / 1.203 GB, free: 12.52 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.647e-05/0.218, allocations: 8 kB / 1.203 GB, free: 12.52 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.301e-05/0.218, allocations: 7.984 kB / 1.203 GB, free: 12.51 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.551e-05/0.2181, allocations: 15.92 kB / 1.203 GB, free: 12.49 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.407e-06/0.2181, allocations: 11.98 kB / 1.203 GB, free: 12.48 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 9.809e-05/0.2182, allocations: 168.4 kB / 1.203 GB, free: 12.32 MB / 0.8387 GB Notification: Performance of sort global known variables: time 6e-08/0.2182, allocations: 4 kB / 1.203 GB, free: 12.31 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0002288/0.2184, allocations: 71.94 kB / 1.203 GB, free: 12.24 MB / 0.8387 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.0001155/0.2185, allocations: 115.8 kB / 1.203 GB, free: 12.12 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0004371/0.219, allocations: 486 kB / 1.204 GB, free: 11.6 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.219, allocations: 0.5 kB / 1.204 GB, free: 11.6 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 8.913e-05/0.2191, allocations: 79.84 kB / 1.204 GB, free: 11.52 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002711/0.2193, allocations: 60.86 kB / 1.204 GB, free: 11.46 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004257/0.2198, allocations: 384.4 kB / 1.204 GB, free: 11.04 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000186/0.2199, allocations: 0.732 MB / 1.205 GB, free: 10.28 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.329e-05/0.22, allocations: 23.44 kB / 1.205 GB, free: 10.26 MB / 0.8387 GB Notification: Performance of SimCode: time 6.11e-07/0.22, allocations: 0 / 1.205 GB, free: 10.26 MB / 0.8387 GB Notification: Performance of Templates: time 0.003697/0.2237, allocations: 3.507 MB / 1.209 GB, free: 6.793 MB / 0.8387 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: 7.0102998204529285] Failed to read output from testmodel.py, exit status != 0: 0.22873550094664097 0.23758467200000002 0.023207439 Calling exit ...