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.000961/0.000961, allocations: 100.4 kB / 19.71 MB, free: 444 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.001148/0.001148, allocations: 210.9 kB / 23 MB, free: 2.977 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 1.016/1.016, allocations: 230.6 MB / 256.8 MB, free: 9.594 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.03778/0.03778, allocations: 12.19 MB / 325.4 MB, free: 6.066 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.0003201/0.0003201, allocations: 31.95 kB / 384.9 MB, free: 10.49 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.877/1.877, allocations: 353.8 MB / 0.7794 GB, free: 4.574 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.001511/0.001511, allocations: 132.7 kB / 1.061 GB, free: 24.49 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2793/0.2808, allocations: 134.9 MB / 1.193 GB, free: 6.984 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.00175/0.2825, allocations: 0.8922 MB / 1.194 GB, free: 6.094 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001525/0.284, allocations: 1.476 MB / 1.195 GB, free: 4.605 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.055e-05/0.2841, allocations: 3.938 kB / 1.195 GB, free: 4.602 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 4.617e-05/0.2842, allocations: 15.8 kB / 1.195 GB, free: 4.586 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001342/0.2843, allocations: 63.52 kB / 1.195 GB, free: 4.523 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007275/0.285, allocations: 440.6 kB / 1.196 GB, free: 4.105 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.000365/0.2854, allocations: 499 kB / 1.196 GB, free: 3.617 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.2855, allocations: 33.81 kB / 1.196 GB, free: 3.582 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001531/0.2857, allocations: 187.6 kB / 1.196 GB, free: 3.398 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001678/0.2858, allocations: 135.5 kB / 1.197 GB, free: 3.266 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 4.68e-05/0.2859, allocations: 52 kB / 1.197 GB, free: 3.215 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 8.62e-05/0.286, allocations: 67.97 kB / 1.197 GB, free: 3.148 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 3.965e-05/0.286, allocations: 43.8 kB / 1.197 GB, free: 3.105 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001112/0.2861, allocations: 143.6 kB / 1.197 GB, free: 2.965 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0003623/0.2865, allocations: 0.4984 MB / 1.197 GB, free: 2.465 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.2865, allocations: 0 / 1.197 GB, free: 2.465 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.254e-06/0.2865, allocations: 3.938 kB / 1.197 GB, free: 2.461 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.2865, allocations: 0 / 1.197 GB, free: 2.461 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.0006782/0.2872, allocations: 0.5586 MB / 1.198 GB, free: 1.844 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.2872, allocations: 8.031 kB / 1.198 GB, free: 1.836 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.001e-05/0.2873, allocations: 32.8 kB / 1.198 GB, free: 1.805 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/0.2874, allocations: 165.2 kB / 1.198 GB, free: 1.621 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.55e-05/0.2875, allocations: 16.38 kB / 1.198 GB, free: 1.605 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.057e-05/0.2875, allocations: 32.3 kB / 1.198 GB, free: 1.574 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.2877, allocations: 121.6 kB / 1.198 GB, free: 1.438 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.2877, allocations: 192 / 1.198 GB, free: 1.438 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.2877, allocations: 3.938 kB / 1.198 GB, free: 1.434 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.2877, allocations: 4 kB / 1.198 GB, free: 1.43 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.636e-05/0.2878, allocations: 55.91 kB / 1.198 GB, free: 1.375 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006439/0.2884, allocations: 0.7155 MB / 1.199 GB, free: 0.6172 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001307/0.2886, allocations: 118.4 kB / 1.199 GB, free: 476 kB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.255e-05/0.2886, allocations: 55.42 kB / 1.199 GB, free: 408 kB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.083e-05/0.2886, allocations: 4 kB / 1.199 GB, free: 404 kB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002269/0.2889, allocations: 184.3 kB / 1.199 GB, free: 196 kB / 0.823 GB Notification: Performance of pre-optimization done (n=16): time 2.755e-06/0.2889, allocations: 3.984 kB / 1.199 GB, free: 192 kB / 0.823 GB Notification: Performance of matching and sorting (n=16): time 0.0003735/0.2892, allocations: 229.3 kB / 1.2 GB, free: 15.96 MB / 0.8387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.176e-05/0.2893, allocations: 140.5 kB / 1.2 GB, free: 15.79 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001769/0.2895, allocations: 236.8 kB / 1.2 GB, free: 15.55 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 3.435e-05/0.2895, allocations: 37.7 kB / 1.2 GB, free: 15.51 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 8.482e-05/0.2896, allocations: 136.5 kB / 1.2 GB, free: 15.37 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 2.376e-05/0.2896, allocations: 27.8 kB / 1.2 GB, free: 15.34 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.2897, allocations: 93.66 kB / 1.2 GB, free: 15.24 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 8.944e-05/0.2898, allocations: 334.8 kB / 1.201 GB, free: 14.91 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002597/0.2901, allocations: 278.9 kB / 1.201 GB, free: 14.61 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002729/0.2903, allocations: 353.4 kB / 1.201 GB, free: 14.2 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000289/0.2906, allocations: 368.9 kB / 1.201 GB, free: 13.78 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.2906, allocations: 0 / 1.201 GB, free: 13.78 MB / 0.8387 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000747/0.2914, allocations: 0.6902 MB / 1.202 GB, free: 13.03 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 7.221e-05/0.2914, allocations: 134.8 kB / 1.202 GB, free: 12.88 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.2915, allocations: 4.25 kB / 1.202 GB, free: 12.87 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.2915, allocations: 8 kB / 1.202 GB, free: 12.86 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.394e-05/0.2915, allocations: 15.94 kB / 1.202 GB, free: 12.85 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.2916, allocations: 4 kB / 1.202 GB, free: 12.84 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003361/0.2919, allocations: 107.8 kB / 1.202 GB, free: 12.74 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.528e-05/0.2919, allocations: 31.97 kB / 1.202 GB, free: 12.71 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.0001161/0.292, allocations: 153.7 kB / 1.203 GB, free: 12.55 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.073e-05/0.2921, allocations: 19.86 kB / 1.203 GB, free: 12.53 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.622e-05/0.2921, allocations: 25.33 kB / 1.203 GB, free: 12.5 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.2921, allocations: 4 kB / 1.203 GB, free: 12.49 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.2921, allocations: 0 / 1.203 GB, free: 12.49 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.2921, allocations: 0 / 1.203 GB, free: 12.49 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000129/0.2922, allocations: 181.2 kB / 1.203 GB, free: 12.29 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2922, allocations: 4 kB / 1.203 GB, free: 12.28 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.658e-05/0.2923, allocations: 19.92 kB / 1.203 GB, free: 12.26 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.2923, allocations: 4 kB / 1.203 GB, free: 12.26 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.826e-06/0.2923, allocations: 0 / 1.203 GB, free: 12.26 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/0.2923, allocations: 4 kB / 1.203 GB, free: 12.25 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.2923, allocations: 0 / 1.203 GB, free: 12.25 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002037/0.2925, allocations: 224.4 kB / 1.203 GB, free: 12.01 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 2.001e-05/0.2925, allocations: 15.84 kB / 1.203 GB, free: 11.99 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.909e-05/0.2925, allocations: 11.92 kB / 1.203 GB, free: 11.98 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.316e-05/0.2926, allocations: 4 kB / 1.203 GB, free: 11.98 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.32e-05/0.2926, allocations: 15.98 kB / 1.203 GB, free: 11.96 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.288e-06/0.2926, allocations: 11.98 kB / 1.203 GB, free: 11.95 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 0.0001005/0.2927, allocations: 172.4 kB / 1.203 GB, free: 11.79 MB / 0.8387 GB Notification: Performance of sort global known variables: time 5e-08/0.2927, allocations: 0 / 1.203 GB, free: 11.79 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0002187/0.2929, allocations: 75.88 kB / 1.203 GB, free: 11.71 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.0001431/0.2931, allocations: 107.9 kB / 1.203 GB, free: 11.6 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0004998/0.2936, allocations: 0.6061 MB / 1.204 GB, free: 10.92 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.2936, allocations: 4.125 kB / 1.204 GB, free: 10.91 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 9.487e-05/0.2937, allocations: 79.97 kB / 1.204 GB, free: 10.84 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000292/0.294, allocations: 70.06 kB / 1.204 GB, free: 10.77 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004791/0.2944, allocations: 376.4 kB / 1.205 GB, free: 10.36 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.778e-05/0.2945, allocations: 116.9 kB / 1.205 GB, free: 10.22 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.632e-05/0.2946, allocations: 27.42 kB / 1.205 GB, free: 10.2 MB / 0.8387 GB Notification: Performance of SimCode: time 7.41e-07/0.2946, allocations: 4 kB / 1.205 GB, free: 10.19 MB / 0.8387 GB Notification: Performance of Templates: time 0.004001/0.2986, allocations: 3.546 MB / 1.208 GB, free: 6.68 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: 8.04686744324863] Failed to read output from testmodel.py, exit status != 0: 0.30455398093909025 0.312987147 0.024698052 Calling exit ...