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.00171/0.00171, 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.001501/0.001501, allocations: 208.1 kB / 22.25 MB, free: 5.125 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.475/1.475, allocations: 230.6 MB / 256 MB, free: 7.98 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.06497/0.06497, allocations: 12.18 MB / 324.6 MB, free: 7.262 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.0008067/0.0008067, allocations: 31.56 kB / 384.1 MB, free: 46.59 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.52/2.52, allocations: 353.8 MB / 0.7787 GB, free: 1.047 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.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.003523/0.003523, allocations: 116 kB / 1.061 GB, free: 13.03 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.274/0.2775, allocations: 134.9 MB / 1.192 GB, free: 6.207 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002315/0.2798, allocations: 0.9611 MB / 1.193 GB, free: 5.25 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 0.002107/0.2819, allocations: 1.492 MB / 1.195 GB, free: 3.746 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.282, allocations: 4 kB / 1.195 GB, free: 3.742 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 5.148e-05/0.2821, allocations: 11.81 kB / 1.195 GB, free: 3.73 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 0.0001698/0.2823, allocations: 67.5 kB / 1.195 GB, free: 3.664 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.001116/0.2834, allocations: 438 kB / 1.195 GB, free: 3.25 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.0007279/0.2841, allocations: 0.4912 MB / 1.196 GB, free: 2.758 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001556/0.2843, allocations: 29.81 kB / 1.196 GB, free: 2.727 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003454/0.2846, allocations: 187.6 kB / 1.196 GB, free: 2.543 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003253/0.2849, allocations: 163.5 kB / 1.196 GB, free: 2.383 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 0.0001101/0.285, allocations: 48 kB / 1.196 GB, free: 2.336 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001627/0.2852, allocations: 63.98 kB / 1.196 GB, free: 2.273 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 5.658e-05/0.2853, allocations: 43.78 kB / 1.196 GB, free: 2.23 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 0.000223/0.2855, allocations: 159.5 kB / 1.196 GB, free: 2.074 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.0005866/0.2861, allocations: 0.4984 MB / 1.197 GB, free: 1.574 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.2861, allocations: 0 / 1.197 GB, free: 1.574 MB / 0.8263 GB Notification: Performance of FrontEnd: time 1.222e-06/0.2861, allocations: 0 / 1.197 GB, free: 1.574 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 1.518e-05/0.2861, allocations: 4 kB / 1.197 GB, free: 1.57 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009293/0.287, allocations: 0.5586 MB / 1.197 GB, free: 0.9531 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.2871, allocations: 11.98 kB / 1.197 GB, free: 0.9414 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001064/0.2872, allocations: 32.8 kB / 1.197 GB, free: 0.9102 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002501/0.2874, allocations: 169.2 kB / 1.198 GB, free: 0.7227 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.163e-05/0.2875, allocations: 20.31 kB / 1.198 GB, free: 0.7031 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.613e-05/0.2875, allocations: 20.38 kB / 1.198 GB, free: 0.6836 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002382/0.2878, allocations: 121.6 kB / 1.198 GB, free: 0.5469 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.2878, allocations: 8.109 kB / 1.198 GB, free: 0.5391 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.922e-05/0.2878, allocations: 11.92 kB / 1.198 GB, free: 0.5273 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.2878, allocations: 4 kB / 1.198 GB, free: 0.5234 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001209/0.2879, allocations: 47.92 kB / 1.198 GB, free: 488 kB / 0.8263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001154/0.2891, allocations: 0.8436 MB / 1.199 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001833/0.2893, allocations: 114.4 kB / 1.199 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.231e-05/0.2893, allocations: 67.36 kB / 1.199 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.426e-05/0.2894, allocations: 0 / 1.199 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003261/0.2897, allocations: 172.7 kB / 1.199 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=16): time 1.143e-06/0.2897, allocations: 0 / 1.199 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of matching and sorting (n=16): time 0.0004909/0.2902, allocations: 229.4 kB / 1.199 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.898e-05/0.2903, allocations: 136.5 kB / 1.199 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002589/0.2905, allocations: 240.8 kB / 1.199 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.745e-05/0.2906, allocations: 37.7 kB / 1.2 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/0.2907, allocations: 124.5 kB / 1.2 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.964e-05/0.2907, allocations: 35.78 kB / 1.2 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001765/0.2909, allocations: 93.66 kB / 1.2 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.2911, allocations: 338.8 kB / 1.2 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003078/0.2914, allocations: 144.1 kB / 1.2 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003482/0.2917, allocations: 231.6 kB / 1.2 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004798/0.2922, allocations: 361 kB / 1.201 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.2922, allocations: 4 kB / 1.201 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009532/0.2932, allocations: 0.5624 MB / 1.201 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001081/0.2933, allocations: 138.7 kB / 1.201 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.2933, allocations: 8.25 kB / 1.201 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.2933, allocations: 4 kB / 1.201 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.861e-05/0.2934, allocations: 15.94 kB / 1.202 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.2934, allocations: 3.984 kB / 1.202 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006198/0.294, allocations: 115.7 kB / 1.202 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.882e-05/0.2941, allocations: 27.98 kB / 1.202 GB, free: 12.13 MB / 0.8419 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.0001678/0.2942, allocations: 149.7 kB / 1.202 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.109e-05/0.2943, allocations: 23.86 kB / 1.202 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.437e-05/0.2943, allocations: 18.28 kB / 1.202 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.241e-06/0.2943, allocations: 7.984 kB / 1.202 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.2943, allocations: 0 / 1.202 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.2943, allocations: 11.94 kB / 1.202 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002427/0.2946, allocations: 228.6 kB / 1.202 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.2946, allocations: 4 kB / 1.202 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.055e-05/0.2946, allocations: 11.94 kB / 1.202 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.2946, allocations: 0 / 1.202 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.617e-05/0.2946, allocations: 11.98 kB / 1.202 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.2946, allocations: 0 / 1.202 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.2946, allocations: 4 kB / 1.202 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003115/0.295, allocations: 227.3 kB / 1.202 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.478e-05/0.295, allocations: 15.91 kB / 1.202 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.726e-05/0.295, allocations: 4 kB / 1.202 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.493e-05/0.2951, allocations: 7.984 kB / 1.202 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.535e-05/0.2951, allocations: 15.92 kB / 1.202 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.041e-05/0.2951, allocations: 19.92 kB / 1.202 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001664/0.2953, allocations: 164.5 kB / 1.203 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2953, allocations: 0 / 1.203 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003422/0.2956, allocations: 71.94 kB / 1.203 GB, free: 11.07 MB / 0.8419 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.0001736/0.2958, allocations: 107.9 kB / 1.203 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007241/0.2965, allocations: 489.3 kB / 1.203 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.2965, allocations: 0.5 kB / 1.203 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001045/0.2967, allocations: 59.92 kB / 1.203 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004455/0.2971, allocations: 64.23 kB / 1.203 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006641/0.2978, allocations: 358.6 kB / 1.204 GB, free: 9.922 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003741/0.2981, allocations: 0.732 MB / 1.204 GB, free: 9.16 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 6.882e-05/0.2982, allocations: 17.64 kB / 1.204 GB, free: 9.141 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.646e-05/0.2983, allocations: 23.42 kB / 1.204 GB, free: 9.117 MB / 0.8419 GB Notification: Performance of SimCode: time 4.5e-07/0.2983, allocations: 3.938 kB / 1.204 GB, free: 9.113 MB / 0.8419 GB Notification: Performance of Templates: time 0.009675/0.3079, allocations: 4.632 MB / 1.209 GB, free: 4.555 MB / 0.8419 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: 8.052763599902391] Failed to read output from testmodel.py, exit status != 0: 0.31706681102514267 0.33299953800000004 0.043665391000000005 Calling exit ...