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.0009849/0.0009849, allocations: 100.4 kB / 19.7 MB, free: 452 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.001012/0.001012, allocations: 212.1 kB / 23 MB, free: 2.98 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.9625/0.9625, 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.0362/0.0362, allocations: 12.19 MB / 325.4 MB, free: 6.082 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.0005033/0.0005033, allocations: 27.94 kB / 384.8 MB, free: 10.51 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.869/1.869, allocations: 353.8 MB / 0.7794 GB, free: 24.38 MB / 0.5418 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.001479/0.001479, allocations: 119.8 kB / 1.061 GB, free: 1.938 MB / 0.7762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7295/0.731, allocations: 134.9 MB / 1.193 GB, free: 2.672 MB / 0.8074 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Discrete.Validation.UnitDelay): time 0.001486/0.7325, allocations: 0.6422 MB / 1.194 GB, free: 2.035 MB / 0.8074 GB Notification: Performance of NFInst.instExpressions: time 0.00103/0.7335, allocations: 1.106 MB / 1.195 GB, free: 0.918 MB / 0.8074 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.088e-05/0.7336, allocations: 0 / 1.195 GB, free: 0.918 MB / 0.8074 GB Notification: Performance of NFTyping.typeComponents: time 3.742e-05/0.7336, allocations: 3.938 kB / 1.195 GB, free: 0.9141 MB / 0.8074 GB Notification: Performance of NFTyping.typeBindings: time 7.016e-05/0.7337, allocations: 3.938 kB / 1.195 GB, free: 0.9102 MB / 0.8074 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002892/0.734, allocations: 47.83 kB / 1.195 GB, free: 0.8633 MB / 0.8074 GB Notification: Performance of NFFlatten.flatten: time 9.39e-05/0.734, allocations: 43.86 kB / 1.195 GB, free: 0.8203 MB / 0.8074 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.7342, allocations: 11.98 kB / 1.195 GB, free: 0.8086 MB / 0.8074 GB Notification: Performance of NFEvalConstants.evaluate: time 7.108e-05/0.7342, allocations: 27.84 kB / 1.195 GB, free: 0.7812 MB / 0.8074 GB Notification: Performance of NFSimplifyModel.simplify: time 4.557e-05/0.7343, allocations: 15.92 kB / 1.195 GB, free: 0.7656 MB / 0.8074 GB Notification: Performance of NFPackage.collectConstants: time 1.298e-05/0.7343, allocations: 4 kB / 1.195 GB, free: 0.7617 MB / 0.8074 GB Notification: Performance of NFFlatten.collectFunctions: time 6.287e-05/0.7343, allocations: 23.98 kB / 1.195 GB, free: 0.7383 MB / 0.8074 GB Notification: Performance of NFScalarize.scalarize: time 2.168e-05/0.7344, allocations: 11.94 kB / 1.195 GB, free: 0.7266 MB / 0.8074 GB Notification: Performance of NFVerifyModel.verify: time 3.516e-05/0.7344, allocations: 23.91 kB / 1.195 GB, free: 0.7031 MB / 0.8074 GB Notification: Performance of NFConvertDAE.convert: time 0.0001301/0.7345, allocations: 50.11 kB / 1.195 GB, free: 0.6562 MB / 0.8074 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.7345, allocations: 4 kB / 1.195 GB, free: 0.6523 MB / 0.8074 GB Notification: Performance of FrontEnd: time 1.664e-06/0.7345, allocations: 0 / 1.195 GB, free: 0.6523 MB / 0.8074 GB Notification: Performance of Transformations before backend: time 7.545e-06/0.7345, allocations: 0 / 1.195 GB, free: 0.6523 MB / 0.8074 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.0004659/0.735, allocations: 287.9 kB / 1.195 GB, free: 348 kB / 0.8074 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.7351, allocations: 11.97 kB / 1.195 GB, free: 336 kB / 0.8074 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.742e-05/0.7351, allocations: 12.89 kB / 1.195 GB, free: 324 kB / 0.8074 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.838e-05/0.7352, allocations: 118.5 kB / 1.195 GB, free: 180 kB / 0.8074 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.7352, allocations: 4.312 kB / 1.195 GB, free: 176 kB / 0.8074 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.204e-05/0.7353, allocations: 4.375 kB / 1.195 GB, free: 172 kB / 0.8074 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/0.7354, allocations: 66.2 kB / 1.195 GB, free: 100 kB / 0.8074 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.7354, allocations: 4.188 kB / 1.195 GB, free: 96 kB / 0.8074 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.7354, allocations: 3.938 kB / 1.195 GB, free: 92 kB / 0.8074 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.7354, allocations: 0 / 1.195 GB, free: 92 kB / 0.8074 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/0.7355, allocations: 43.95 kB / 1.195 GB, free: 48 kB / 0.8074 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004004/0.7359, allocations: 224.5 kB / 1.196 GB, free: 15.8 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000121/0.7361, allocations: 54.48 kB / 1.196 GB, free: 15.73 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.139e-05/0.7361, allocations: 32.89 kB / 1.196 GB, free: 15.7 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.028e-05/0.7361, allocations: 0 / 1.196 GB, free: 15.7 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00013/0.7363, allocations: 71.39 kB / 1.196 GB, free: 15.62 MB / 0.823 GB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.7363, allocations: 0 / 1.196 GB, free: 15.62 MB / 0.823 GB Notification: Performance of matching and sorting (n=6): time 0.0002752/0.7365, allocations: 125.5 kB / 1.196 GB, free: 15.49 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.589e-05/0.7366, allocations: 55.41 kB / 1.196 GB, free: 15.42 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.086e-05/0.7366, allocations: 105.8 kB / 1.196 GB, free: 15.31 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.7367, allocations: 29.7 kB / 1.196 GB, free: 15.27 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.443e-05/0.7367, allocations: 92.06 kB / 1.196 GB, free: 15.18 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.982e-05/0.7367, allocations: 19.97 kB / 1.196 GB, free: 15.16 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.32e-05/0.7368, allocations: 21.72 kB / 1.196 GB, free: 15.13 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.544e-05/0.7368, allocations: 318.8 kB / 1.196 GB, free: 14.81 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.386e-05/0.7369, allocations: 27.98 kB / 1.197 GB, free: 14.79 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.748e-05/0.737, allocations: 56.2 kB / 1.197 GB, free: 14.71 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00012/0.7371, allocations: 96.12 kB / 1.197 GB, free: 14.61 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.7371, allocations: 0 / 1.197 GB, free: 14.61 MB / 0.823 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001571/0.7372, allocations: 113.5 kB / 1.197 GB, free: 14.49 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.7373, allocations: 8 kB / 1.197 GB, free: 14.48 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.7373, allocations: 0 / 1.197 GB, free: 14.48 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.7373, allocations: 4 kB / 1.197 GB, free: 14.48 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.813e-05/0.7374, allocations: 19.92 kB / 1.197 GB, free: 14.46 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.7374, allocations: 4 kB / 1.197 GB, free: 14.45 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.366e-05/0.7374, allocations: 12.14 kB / 1.197 GB, free: 14.44 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.378e-06/0.7374, allocations: 7.984 kB / 1.197 GB, free: 14.43 MB / 0.823 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 7.35e-05/0.7375, allocations: 125.7 kB / 1.197 GB, free: 14.3 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.955e-06/0.7375, allocations: 7.953 kB / 1.197 GB, free: 14.29 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001688/0.7377, allocations: 102 kB / 1.197 GB, free: 14.18 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.7377, allocations: 320 / 1.197 GB, free: 14.18 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.7377, allocations: 4 kB / 1.197 GB, free: 14.18 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.7377, allocations: 0 / 1.197 GB, free: 14.18 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002636/0.7379, allocations: 298.2 kB / 1.197 GB, free: 13.85 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.7379, allocations: 0 / 1.197 GB, free: 13.85 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.168e-05/0.738, allocations: 15.94 kB / 1.197 GB, free: 13.84 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.738, allocations: 0 / 1.197 GB, free: 13.84 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.738, allocations: 3.984 kB / 1.197 GB, free: 13.83 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.738, allocations: 0 / 1.197 GB, free: 13.83 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.738, allocations: 0 / 1.197 GB, free: 13.83 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001519/0.7381, allocations: 199.4 kB / 1.198 GB, free: 13.62 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.021e-06/0.7381, allocations: 0 / 1.198 GB, free: 13.62 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.57e-05/0.7382, allocations: 3.984 kB / 1.198 GB, free: 13.62 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.77e-05/0.7382, allocations: 4 kB / 1.198 GB, free: 13.61 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.365e-05/0.7382, allocations: 7.984 kB / 1.198 GB, free: 13.61 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.7382, allocations: 0 / 1.198 GB, free: 13.61 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.31e-05/0.7383, allocations: 87.28 kB / 1.198 GB, free: 13.52 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.7383, allocations: 0 / 1.198 GB, free: 13.52 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001692/0.7384, allocations: 15.98 kB / 1.198 GB, free: 13.5 MB / 0.823 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.0001314/0.7386, allocations: 104 kB / 1.198 GB, free: 13.39 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001731/0.7387, allocations: 67.83 kB / 1.198 GB, free: 13.33 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.7387, allocations: 4 kB / 1.198 GB, free: 13.32 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 6.227e-05/0.7388, allocations: 28.16 kB / 1.198 GB, free: 13.3 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002051/0.739, allocations: 9.344 kB / 1.198 GB, free: 13.29 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003573/0.7394, allocations: 172.1 kB / 1.198 GB, free: 13.09 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.573e-05/0.7394, allocations: 71.34 kB / 1.198 GB, free: 13 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.186e-05/0.7395, allocations: 15.42 kB / 1.198 GB, free: 12.98 MB / 0.823 GB Notification: Performance of SimCode: time 1.343e-06/0.7395, allocations: 0 / 1.198 GB, free: 12.98 MB / 0.823 GB Notification: Performance of Templates: time 0.002311/0.7418, allocations: 0.8921 MB / 1.199 GB, free: 12.1 MB / 0.823 GB " [Timeout remaining time 659] 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.21788343694061] Failed to read output from testmodel.py, exit status != 0: 0.7484311424195766 0.756775717 0.020529876000000002 Calling exit ...