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.001158/0.001158, allocations: 115 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.001409/0.001409, allocations: 199.9 kB / 23 MB, free: 3.113 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.9166/0.9166, allocations: 230.6 MB / 256.8 MB, free: 3.465 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.0374/0.0374, allocations: 12.19 MB / 325.4 MB, free: 3.426 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.0004102/0.0004102, allocations: 32.64 kB / 384.9 MB, free: 45.86 MB / 298.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.597/1.597, allocations: 353.8 MB / 0.7794 GB, free: 13.05 MB / 0.5262 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.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.001258/0.001258, allocations: 128.1 kB / 1.061 GB, free: 9.43 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2282/0.2295, allocations: 134.9 MB / 1.193 GB, free: 2.613 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.00142/0.2309, allocations: 0.6697 MB / 1.194 GB, free: 1.945 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0009705/0.2319, allocations: 1.119 MB / 1.195 GB, free: 0.8164 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.114e-05/0.2319, allocations: 0 / 1.195 GB, free: 0.8164 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.706e-05/0.232, allocations: 3.938 kB / 1.195 GB, free: 0.8125 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 6.508e-05/0.232, allocations: 7.922 kB / 1.195 GB, free: 0.8047 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002574/0.2323, allocations: 43.84 kB / 1.195 GB, free: 0.7617 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 9.881e-05/0.2324, allocations: 47.84 kB / 1.195 GB, free: 0.7148 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 9.918e-05/0.2325, allocations: 19.98 kB / 1.195 GB, free: 0.6953 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 6.402e-05/0.2326, allocations: 15.94 kB / 1.195 GB, free: 0.6797 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 4.885e-05/0.2326, allocations: 23.91 kB / 1.195 GB, free: 0.6562 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.274e-05/0.2326, allocations: 7.938 kB / 1.195 GB, free: 0.6484 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 6.195e-05/0.2327, allocations: 23.97 kB / 1.195 GB, free: 0.625 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.533e-05/0.2327, allocations: 8 kB / 1.195 GB, free: 0.6172 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.21e-05/0.2327, allocations: 23.86 kB / 1.195 GB, free: 0.5938 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001208/0.2328, allocations: 59.78 kB / 1.195 GB, free: 0.5352 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.2329, allocations: 0 / 1.195 GB, free: 0.5352 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2329, allocations: 0 / 1.195 GB, free: 0.5352 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.673e-06/0.2329, allocations: 0 / 1.195 GB, free: 0.5352 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004195/0.2333, allocations: 294.1 kB / 1.195 GB, free: 220 kB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.2333, allocations: 11.98 kB / 1.195 GB, free: 208 kB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.643e-05/0.2334, allocations: 8.891 kB / 1.195 GB, free: 200 kB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.043e-05/0.2335, allocations: 114.5 kB / 1.195 GB, free: 60 kB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.2335, allocations: 384 / 1.195 GB, free: 60 kB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.454e-05/0.2335, allocations: 8.375 kB / 1.195 GB, free: 52 kB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.2336, allocations: 62.16 kB / 1.195 GB, free: 15.98 MB / 0.8387 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.2337, allocations: 4.188 kB / 1.195 GB, free: 15.98 MB / 0.8387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.2337, allocations: 11.94 kB / 1.195 GB, free: 15.97 MB / 0.8387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.2337, allocations: 0 / 1.195 GB, free: 15.97 MB / 0.8387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.076e-05/0.2338, allocations: 43.89 kB / 1.196 GB, free: 15.93 MB / 0.8387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003541/0.2341, allocations: 251.9 kB / 1.196 GB, free: 15.64 MB / 0.8387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.2342, allocations: 62.42 kB / 1.196 GB, free: 15.57 MB / 0.8387 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.002e-05/0.2343, allocations: 24.97 kB / 1.196 GB, free: 15.54 MB / 0.8387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.109e-05/0.2343, allocations: 4 kB / 1.196 GB, free: 15.54 MB / 0.8387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001111/0.2344, allocations: 71.38 kB / 1.196 GB, free: 15.45 MB / 0.8387 GB Notification: Performance of pre-optimization done (n=6): time 1.011e-06/0.2344, allocations: 0 / 1.196 GB, free: 15.45 MB / 0.8387 GB Notification: Performance of matching and sorting (n=6): time 0.00024/0.2346, allocations: 129.5 kB / 1.196 GB, free: 15.32 MB / 0.8387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/0.2347, allocations: 51.41 kB / 1.196 GB, free: 15.26 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.221e-05/0.2347, allocations: 105.8 kB / 1.196 GB, free: 15.14 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.2347, allocations: 29.7 kB / 1.196 GB, free: 15.11 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 3.399e-05/0.2348, allocations: 84.14 kB / 1.196 GB, free: 15.02 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 1.829e-05/0.2348, allocations: 23.83 kB / 1.196 GB, free: 15 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.767e-05/0.2348, allocations: 17.72 kB / 1.196 GB, free: 14.98 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 7.324e-05/0.2349, allocations: 326.8 kB / 1.197 GB, free: 14.65 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.938e-05/0.2349, allocations: 19.98 kB / 1.197 GB, free: 14.63 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.582e-05/0.235, allocations: 60.27 kB / 1.197 GB, free: 14.55 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001144/0.2351, allocations: 92.12 kB / 1.197 GB, free: 14.45 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.2351, allocations: 0 / 1.197 GB, free: 14.45 MB / 0.8387 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001469/0.2353, allocations: 117.8 kB / 1.197 GB, free: 14.33 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.2353, allocations: 4 kB / 1.197 GB, free: 14.32 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.2353, allocations: 0 / 1.197 GB, free: 14.32 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.2353, allocations: 11.98 kB / 1.197 GB, free: 14.31 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.64e-05/0.2354, allocations: 19.92 kB / 1.197 GB, free: 14.29 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.2354, allocations: 0 / 1.197 GB, free: 14.29 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.138e-05/0.2354, allocations: 7.938 kB / 1.197 GB, free: 14.29 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.347e-06/0.2354, allocations: 4 kB / 1.197 GB, free: 14.28 MB / 0.8387 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 6.106e-05/0.2355, allocations: 129 kB / 1.197 GB, free: 14.15 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.114e-06/0.2355, allocations: 7.953 kB / 1.197 GB, free: 14.14 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002905/0.2358, allocations: 102 kB / 1.197 GB, free: 14.03 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.2358, allocations: 0 / 1.197 GB, free: 14.03 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.2358, allocations: 4 kB / 1.197 GB, free: 14.03 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.2358, allocations: 0 / 1.197 GB, free: 14.03 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000249/0.236, allocations: 325.6 kB / 1.198 GB, free: 13.66 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.236, allocations: 0 / 1.198 GB, free: 13.66 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.67e-05/0.2361, allocations: 8 kB / 1.198 GB, free: 13.65 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.2361, allocations: 4.125 kB / 1.198 GB, free: 13.65 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.2361, allocations: 0 / 1.198 GB, free: 13.65 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.2361, allocations: 7.922 kB / 1.198 GB, free: 13.64 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.2361, allocations: 0 / 1.198 GB, free: 13.64 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001411/0.2362, allocations: 195.4 kB / 1.198 GB, free: 13.43 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 6.472e-06/0.2362, allocations: 7.938 kB / 1.198 GB, free: 13.43 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.2362, allocations: 3.984 kB / 1.198 GB, free: 13.42 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.808e-05/0.2363, allocations: 8 kB / 1.198 GB, free: 13.41 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.818e-05/0.2363, allocations: 11.97 kB / 1.198 GB, free: 13.4 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.2363, allocations: 4.125 kB / 1.198 GB, free: 13.4 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 2.89e-05/0.2364, allocations: 83.28 kB / 1.198 GB, free: 13.32 MB / 0.8387 GB Notification: Performance of sort global known variables: time 8e-08/0.2364, allocations: 8 kB / 1.198 GB, free: 13.31 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0001581/0.2365, allocations: 11.98 kB / 1.198 GB, free: 13.3 MB / 0.8387 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.0001142/0.2366, allocations: 99.19 kB / 1.198 GB, free: 13.19 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0001488/0.2368, allocations: 67.89 kB / 1.198 GB, free: 13.12 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2368, allocations: 4 kB / 1.198 GB, free: 13.12 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 5.496e-05/0.2368, allocations: 32.28 kB / 1.198 GB, free: 13.09 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001818/0.237, allocations: 8 kB / 1.198 GB, free: 13.08 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002687/0.2373, allocations: 163.8 kB / 1.198 GB, free: 12.89 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001684/0.2374, allocations: 0.6845 MB / 1.199 GB, free: 12.18 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.327e-05/0.2375, allocations: 11.44 kB / 1.199 GB, free: 12.17 MB / 0.8387 GB Notification: Performance of SimCode: time 5.81e-07/0.2375, allocations: 0 / 1.199 GB, free: 12.17 MB / 0.8387 GB Notification: Performance of Templates: time 0.001674/0.2391, allocations: 0.8874 MB / 1.2 GB, free: 11.29 MB / 0.8387 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: 6.64711900241673] Failed to read output from testmodel.py, exit status != 0: 0.2442245502024889 0.252529538 0.018032781 Calling exit ...