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.001507/0.001507, allocations: 109.2 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.001905/0.001905, allocations: 219.8 kB / 22.26 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.5/1.5, allocations: 230.6 MB / 256 MB, free: 7.957 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.06555/0.06555, allocations: 12.18 MB / 324.6 MB, free: 7.242 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.001053/0.001053, allocations: 26.09 kB / 384.1 MB, free: 46.64 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.521/2.521, allocations: 353.8 MB / 0.7787 GB, free: 1.039 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.003621/0.003621, allocations: 124.1 kB / 1.061 GB, free: 13.06 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2683/0.272, allocations: 134.9 MB / 1.192 GB, free: 6.234 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.001955/0.2739, allocations: 0.6602 MB / 1.193 GB, free: 5.578 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 0.00158/0.2755, allocations: 1.126 MB / 1.194 GB, free: 4.441 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.387e-05/0.2756, allocations: 4 kB / 1.194 GB, free: 4.438 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 3.481e-05/0.2756, allocations: 7.875 kB / 1.194 GB, free: 4.43 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 5.955e-05/0.2757, allocations: 3.938 kB / 1.194 GB, free: 4.426 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002845/0.2759, allocations: 47.84 kB / 1.194 GB, free: 4.379 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.0001079/0.276, allocations: 47.89 kB / 1.194 GB, free: 4.332 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 8.267e-05/0.2761, allocations: 4 kB / 1.194 GB, free: 4.328 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 8.419e-05/0.2762, allocations: 27.92 kB / 1.194 GB, free: 4.301 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 6.078e-05/0.2763, allocations: 19.92 kB / 1.194 GB, free: 4.281 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 1.574e-05/0.2763, allocations: 4 kB / 1.194 GB, free: 4.277 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 8.583e-05/0.2764, allocations: 27.97 kB / 1.194 GB, free: 4.25 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 1.728e-05/0.2764, allocations: 7.984 kB / 1.194 GB, free: 4.242 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 3.776e-05/0.2764, allocations: 23.81 kB / 1.194 GB, free: 4.219 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.0001534/0.2766, allocations: 59.78 kB / 1.194 GB, free: 4.16 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.2766, allocations: 3.938 kB / 1.194 GB, free: 4.156 MB / 0.8263 GB Notification: Performance of FrontEnd: time 1.363e-06/0.2766, allocations: 0 / 1.194 GB, free: 4.156 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 9.187e-06/0.2766, allocations: 0 / 1.194 GB, free: 4.156 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.0005362/0.2771, allocations: 288.3 kB / 1.195 GB, free: 3.844 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.2772, allocations: 15.98 kB / 1.195 GB, free: 3.828 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.169e-05/0.2773, allocations: 8.875 kB / 1.195 GB, free: 3.82 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/0.2774, allocations: 114.5 kB / 1.195 GB, free: 3.684 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.2774, allocations: 4.375 kB / 1.195 GB, free: 3.68 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.516e-05/0.2774, allocations: 4.375 kB / 1.195 GB, free: 3.676 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001972/0.2776, allocations: 62.22 kB / 1.195 GB, free: 3.609 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.2776, allocations: 4.125 kB / 1.195 GB, free: 3.605 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.998e-05/0.2776, allocations: 11.92 kB / 1.195 GB, free: 3.594 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.2776, allocations: 0 / 1.195 GB, free: 3.594 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001824/0.2778, allocations: 39.97 kB / 1.195 GB, free: 3.555 MB / 0.8263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004895/0.2783, allocations: 255.9 kB / 1.195 GB, free: 3.262 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001677/0.2785, allocations: 54.5 kB / 1.195 GB, free: 3.199 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.2786, allocations: 32.89 kB / 1.195 GB, free: 3.164 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.2786, allocations: 4 kB / 1.195 GB, free: 3.16 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002146/0.2788, allocations: 71.38 kB / 1.195 GB, free: 3.078 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.2788, allocations: 0 / 1.195 GB, free: 3.078 MB / 0.8263 GB Notification: Performance of matching and sorting (n=6): time 0.0004034/0.2792, allocations: 117.6 kB / 1.195 GB, free: 2.957 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.59e-05/0.2793, allocations: 59.39 kB / 1.195 GB, free: 2.887 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.2794, allocations: 113.8 kB / 1.195 GB, free: 2.766 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.2794, allocations: 25.7 kB / 1.195 GB, free: 2.734 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 6.623e-05/0.2795, allocations: 84.14 kB / 1.196 GB, free: 2.648 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 2.302e-05/0.2795, allocations: 15.84 kB / 1.196 GB, free: 2.633 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.318e-05/0.2795, allocations: 29.7 kB / 1.196 GB, free: 2.598 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.2797, allocations: 318.8 kB / 1.196 GB, free: 2.277 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001066/0.2798, allocations: 27.97 kB / 1.196 GB, free: 2.25 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001296/0.2799, allocations: 56.27 kB / 1.196 GB, free: 2.18 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002249/0.2801, allocations: 88.14 kB / 1.196 GB, free: 2.078 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2801, allocations: 0 / 1.196 GB, free: 2.078 MB / 0.8263 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003092/0.2805, allocations: 121.6 kB / 1.196 GB, free: 1.953 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.2805, allocations: 5.562 kB / 1.196 GB, free: 1.949 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.2805, allocations: 7.938 kB / 1.196 GB, free: 1.941 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.2805, allocations: 256 / 1.196 GB, free: 1.941 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.2806, allocations: 15.98 kB / 1.196 GB, free: 1.926 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.2806, allocations: 4 kB / 1.196 GB, free: 1.922 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.589e-05/0.2807, allocations: 15.98 kB / 1.196 GB, free: 1.906 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.2807, allocations: 7.938 kB / 1.196 GB, free: 1.898 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 0.0001026/0.2808, allocations: 121.8 kB / 1.196 GB, free: 1.77 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.307e-05/0.2808, allocations: 3.953 kB / 1.196 GB, free: 1.766 MB / 0.8263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002908/0.2811, allocations: 102 kB / 1.196 GB, free: 1.656 MB / 0.8263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-06/0.2811, allocations: 0 / 1.196 GB, free: 1.656 MB / 0.8263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.2811, allocations: 0 / 1.196 GB, free: 1.656 MB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.2811, allocations: 3.984 kB / 1.196 GB, free: 1.652 MB / 0.8263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004827/0.2816, allocations: 329.6 kB / 1.197 GB, free: 1.281 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.2816, allocations: 4 kB / 1.197 GB, free: 1.277 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.985e-05/0.2817, allocations: 7.984 kB / 1.197 GB, free: 1.27 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.2817, allocations: 0 / 1.197 GB, free: 1.27 MB / 0.8263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.2817, allocations: 4 kB / 1.197 GB, free: 1.266 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.2817, allocations: 0 / 1.197 GB, free: 1.266 MB / 0.8263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.2817, allocations: 0 / 1.197 GB, free: 1.266 MB / 0.8263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003113/0.282, allocations: 203.3 kB / 1.197 GB, free: 1.051 MB / 0.8263 GB Notification: Performance of postOpt removeConstants (simulation): time 1.046e-05/0.282, allocations: 3.938 kB / 1.197 GB, free: 1.047 MB / 0.8263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.958e-05/0.282, allocations: 4 kB / 1.197 GB, free: 1.043 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.514e-05/0.2821, allocations: 7.984 kB / 1.197 GB, free: 1.035 MB / 0.8263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.846e-05/0.2822, allocations: 0 / 1.197 GB, free: 1.035 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.384e-05/0.2822, allocations: 11.92 kB / 1.197 GB, free: 1.023 MB / 0.8263 GB Notification: Performance of sorting global known variables: time 5.849e-05/0.2822, allocations: 83.28 kB / 1.197 GB, free: 0.9414 MB / 0.8263 GB Notification: Performance of sort global known variables: time 6e-08/0.2822, allocations: 0 / 1.197 GB, free: 0.9414 MB / 0.8263 GB Notification: Performance of remove unused functions: time 0.0002551/0.2825, allocations: 20 kB / 1.197 GB, free: 0.9219 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.0001423/0.2826, allocations: 103.4 kB / 1.197 GB, free: 0.8125 MB / 0.8263 GB Notification: Performance of simCode: created initialization part: time 0.0002746/0.2829, allocations: 64.08 kB / 1.197 GB, free: 0.75 MB / 0.8263 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2829, allocations: 0 / 1.197 GB, free: 0.75 MB / 0.8263 GB Notification: Performance of simCode: created simulation system equations: time 0.0001118/0.283, allocations: 36.22 kB / 1.197 GB, free: 0.7148 MB / 0.8263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002613/0.2833, allocations: 8 kB / 1.197 GB, free: 0.707 MB / 0.8263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003453/0.2836, allocations: 142.1 kB / 1.197 GB, free: 0.543 MB / 0.8263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003616/0.284, allocations: 0.6845 MB / 1.198 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 3.883e-05/0.284, allocations: 7.938 kB / 1.198 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.634e-05/0.2841, allocations: 11.44 kB / 1.198 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of SimCode: time 3.2e-07/0.2841, allocations: 0 / 1.198 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of Templates: time 0.003797/0.2878, allocations: 0.8189 MB / 1.199 GB, free: 15 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.040996376425028] Failed to read output from testmodel.py, exit status != 0: 0.29647453129291534 0.31202361500000003 0.032252083 Calling exit ...