Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.UnitDelay.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.001539/0.001539, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001959/0.001959, allocations: 214.6 kB / 22.25 MB, free: 5.238 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.488/1.488, allocations: 230.6 MB / 256 MB, free: 7.785 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.06361/0.06361, allocations: 12.19 MB / 324.6 MB, free: 7.066 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.0007896/0.0007896, allocations: 30.89 kB / 384.1 MB, free: 47.48 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.482/2.482, allocations: 353.9 MB / 0.7787 GB, free: 1.625 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.Discrete.Validation.UnitDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.UnitDelay") translateModel(AixLib.Controls.OBC.CDL.Discrete.Validation.UnitDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.UnitDelay") [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.003533/0.003533, allocations: 128.7 kB / 1.06 GB, free: 12.59 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2718/0.2753, allocations: 134.9 MB / 1.192 GB, free: 5.789 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.002008/0.2773, allocations: 0.6412 MB / 1.193 GB, free: 5.152 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 0.001571/0.2789, allocations: 1.103 MB / 1.194 GB, free: 4.039 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.658e-05/0.2789, allocations: 0 / 1.194 GB, free: 4.039 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 2.909e-05/0.2789, allocations: 3.938 kB / 1.194 GB, free: 4.035 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 7.562e-05/0.279, allocations: 15.86 kB / 1.194 GB, free: 4.02 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003018/0.2793, allocations: 43.83 kB / 1.194 GB, free: 3.977 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.0001057/0.2794, allocations: 43.92 kB / 1.194 GB, free: 3.934 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.2795, allocations: 11.98 kB / 1.194 GB, free: 3.922 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 6.916e-05/0.2796, allocations: 19.94 kB / 1.194 GB, free: 3.902 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 5.632e-05/0.2797, allocations: 23.89 kB / 1.194 GB, free: 3.879 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 1.541e-05/0.2797, allocations: 7.938 kB / 1.194 GB, free: 3.871 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 7.548e-05/0.2797, allocations: 23.94 kB / 1.194 GB, free: 3.848 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 2.148e-05/0.2798, allocations: 7.984 kB / 1.194 GB, free: 3.84 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 3.861e-05/0.2798, allocations: 15.88 kB / 1.194 GB, free: 3.824 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.000154/0.28, allocations: 63.77 kB / 1.194 GB, free: 3.762 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.28, allocations: 0 / 1.194 GB, free: 3.762 MB / 0.8263 GB Notification: Performance of FrontEnd: time 4.398e-06/0.28, allocations: 4 kB / 1.194 GB, free: 3.758 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.28, allocations: 0 / 1.194 GB, free: 3.758 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005697/0.2805, allocations: 282.2 kB / 1.194 GB, free: 3.449 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.2806, allocations: 11.98 kB / 1.194 GB, free: 3.438 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.936e-05/0.2807, allocations: 12.88 kB / 1.194 GB, free: 3.426 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/0.2808, allocations: 114.5 kB / 1.195 GB, free: 3.289 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.2808, allocations: 8.375 kB / 1.195 GB, free: 3.281 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.496e-05/0.2808, allocations: 384 / 1.195 GB, free: 3.281 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00021/0.281, allocations: 70.16 kB / 1.195 GB, free: 3.207 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.281, allocations: 192 / 1.195 GB, free: 3.207 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.2811, allocations: 3.938 kB / 1.195 GB, free: 3.203 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.2811, allocations: 0 / 1.195 GB, free: 3.203 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001847/0.2812, allocations: 47.89 kB / 1.195 GB, free: 3.156 MB / 0.8263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000469/0.2817, allocations: 220.5 kB / 1.195 GB, free: 2.91 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001782/0.2819, allocations: 50.55 kB / 1.195 GB, free: 2.852 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.282, allocations: 32.84 kB / 1.195 GB, free: 2.816 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.282, allocations: 0 / 1.195 GB, free: 2.816 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002098/0.2822, allocations: 83.38 kB / 1.195 GB, free: 2.723 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.2822, allocations: 0 / 1.195 GB, free: 2.723 MB / 0.8263 GB Notification: Performance of matching and sorting (n=6): time 0.0004145/0.2826, allocations: 117.6 kB / 1.195 GB, free: 2.602 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.557e-05/0.2827, allocations: 55.41 kB / 1.195 GB, free: 2.535 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.991e-05/0.2828, allocations: 117.8 kB / 1.195 GB, free: 2.41 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 2.344e-05/0.2828, allocations: 25.7 kB / 1.195 GB, free: 2.379 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 5.344e-05/0.2829, allocations: 88.14 kB / 1.195 GB, free: 2.289 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 2.311e-05/0.2829, allocations: 15.83 kB / 1.195 GB, free: 2.273 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.793e-05/0.2829, allocations: 29.72 kB / 1.195 GB, free: 2.238 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.2831, allocations: 314.8 kB / 1.196 GB, free: 1.922 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/0.2832, allocations: 23.98 kB / 1.196 GB, free: 1.898 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001226/0.2833, allocations: 56.27 kB / 1.196 GB, free: 1.828 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002219/0.2835, allocations: 92.19 kB / 1.196 GB, free: 1.723 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.2835, allocations: 192 / 1.196 GB, free: 1.723 MB / 0.8263 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002861/0.2838, allocations: 117.4 kB / 1.196 GB, free: 1.602 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.2838, allocations: 7.938 kB / 1.196 GB, free: 1.594 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.2838, allocations: 0 / 1.196 GB, free: 1.594 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.2839, allocations: 4 kB / 1.196 GB, free: 1.59 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.284, allocations: 20.14 kB / 1.196 GB, free: 1.57 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.284, allocations: 7.922 kB / 1.196 GB, free: 1.562 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.164e-05/0.284, allocations: 8 kB / 1.196 GB, free: 1.555 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.2841, allocations: 4 kB / 1.196 GB, free: 1.551 MB / 0.8263 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 (unitDelay1.u_internal,$PRE.unitDelay1.u_internal,unitDelay1.y,$PRE.unitDelay1.y,unitDelay1.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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 9.935e-05/0.2842, allocations: 121.8 kB / 1.196 GB, free: 1.422 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.792e-05/0.2842, allocations: 7.953 kB / 1.196 GB, free: 1.414 MB / 0.8263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002858/0.2845, allocations: 98.09 kB / 1.196 GB, free: 1.309 MB / 0.8263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.2845, allocations: 4 kB / 1.196 GB, free: 1.305 MB / 0.8263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.2845, allocations: 4 kB / 1.196 GB, free: 1.301 MB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.2845, allocations: 0 / 1.196 GB, free: 1.301 MB / 0.8263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004225/0.2849, allocations: 294.1 kB / 1.197 GB, free: 0.9766 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.2849, allocations: 0 / 1.197 GB, free: 0.9766 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.863e-05/0.285, allocations: 12.36 kB / 1.197 GB, free: 0.9648 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.285, allocations: 7.922 kB / 1.197 GB, free: 0.957 MB / 0.8263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.285, allocations: 0 / 1.197 GB, free: 0.957 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.285, allocations: 4 kB / 1.197 GB, free: 0.9531 MB / 0.8263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.285, allocations: 4 kB / 1.197 GB, free: 0.9492 MB / 0.8263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003021/0.2853, allocations: 203.3 kB / 1.197 GB, free: 0.7344 MB / 0.8263 GB Notification: Performance of postOpt removeConstants (simulation): time 9.377e-06/0.2853, allocations: 3.938 kB / 1.197 GB, free: 0.7305 MB / 0.8263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.779e-05/0.2853, allocations: 4 kB / 1.197 GB, free: 0.7266 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.61e-05/0.2854, allocations: 11.98 kB / 1.197 GB, free: 0.7148 MB / 0.8263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.2854, allocations: 0 / 1.197 GB, free: 0.7148 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/0.2854, allocations: 7.984 kB / 1.197 GB, free: 0.707 MB / 0.8263 GB Notification: Performance of sorting global known variables: time 5.713e-05/0.2855, allocations: 83.28 kB / 1.197 GB, free: 0.625 MB / 0.8263 GB Notification: Performance of sort global known variables: time 9e-08/0.2855, allocations: 0 / 1.197 GB, free: 0.625 MB / 0.8263 GB Notification: Performance of remove unused functions: time 0.0002448/0.2858, allocations: 16 kB / 1.197 GB, free: 0.6094 MB / 0.8263 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (unitDelay1.sampleTrigger,$whenCondition1,unitDelay1.y,unitDelay1.u_internal) * Number of discrete states: 1 (unitDelay1.u_internal) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001607/0.2859, allocations: 99.23 kB / 1.197 GB, free: 0.5039 MB / 0.8263 GB Notification: Performance of simCode: created initialization part: time 0.0002773/0.2862, allocations: 67.83 kB / 1.197 GB, free: 448 kB / 0.8263 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.2862, allocations: 0 / 1.197 GB, free: 448 kB / 0.8263 GB Notification: Performance of simCode: created simulation system equations: time 0.0001165/0.2863, allocations: 35.91 kB / 1.197 GB, free: 412 kB / 0.8263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002657/0.2866, allocations: 12.31 kB / 1.197 GB, free: 400 kB / 0.8263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003633/0.2869, allocations: 141.9 kB / 1.197 GB, free: 232 kB / 0.8263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.724e-05/0.287, allocations: 67.28 kB / 1.197 GB, free: 144 kB / 0.8263 GB Notification: Performance of simCode: alias equations: time 3.367e-05/0.287, allocations: 4 kB / 1.197 GB, free: 140 kB / 0.8263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.063e-05/0.2871, allocations: 11.44 kB / 1.197 GB, free: 128 kB / 0.8263 GB Notification: Performance of SimCode: time 3.21e-07/0.2871, allocations: 0 / 1.197 GB, free: 128 kB / 0.8263 GB Notification: Performance of Templates: time 0.003643/0.2907, allocations: 0.8536 MB / 1.198 GB, free: 15.29 MB / 0.8419 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.UnitDelay.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.UnitDelay.sim & ./AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.UnitDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.UnitDelay.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.38537973165512] Failed to read output from testmodel.py, exit status != 0: 0.2995869182050228 0.31330686199999996 0.030484358000000003 Calling exit ...