Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.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.00173/0.00173, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002244/0.002244, allocations: 210.2 kB / 22.24 MB, free: 4.863 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.621/1.621, allocations: 230.6 MB / 256 MB, free: 7.809 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.06336/0.06336, allocations: 12.18 MB / 324.6 MB, free: 7.078 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.0008585/0.0008585, allocations: 32.78 kB / 384.1 MB, free: 47.52 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.585/2.585, allocations: 353.8 MB / 0.7787 GB, free: 1.629 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.FirstOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold") translateModel(AixLib.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold") [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.003409/0.003409, allocations: 116.4 kB / 1.06 GB, free: 12.62 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3138/0.3172, allocations: 134.9 MB / 1.192 GB, free: 5.836 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold): time 0.002251/0.3195, allocations: 0.6581 MB / 1.193 GB, free: 5.18 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 0.001938/0.3214, allocations: 1.118 MB / 1.194 GB, free: 4.051 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.734e-05/0.3215, allocations: 0 / 1.194 GB, free: 4.051 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 4.374e-05/0.3215, allocations: 7.922 kB / 1.194 GB, free: 4.043 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 7.022e-05/0.3216, allocations: 7.938 kB / 1.194 GB, free: 4.035 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003424/0.3219, allocations: 55.83 kB / 1.194 GB, free: 3.98 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.000205/0.3222, allocations: 63.89 kB / 1.194 GB, free: 3.918 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.3223, allocations: 11.92 kB / 1.194 GB, free: 3.906 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 8.489e-05/0.3223, allocations: 27.92 kB / 1.194 GB, free: 3.879 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 6.131e-05/0.3224, allocations: 31.84 kB / 1.194 GB, free: 3.848 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 2.222e-05/0.3224, allocations: 8 kB / 1.194 GB, free: 3.84 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 7.955e-05/0.3225, allocations: 19.98 kB / 1.194 GB, free: 3.82 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 2.8e-05/0.3225, allocations: 15.97 kB / 1.194 GB, free: 3.805 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 6.475e-05/0.3226, allocations: 27.86 kB / 1.194 GB, free: 3.777 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.0001715/0.3228, allocations: 83.62 kB / 1.194 GB, free: 3.695 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.3228, allocations: 0 / 1.194 GB, free: 3.695 MB / 0.8263 GB Notification: Performance of FrontEnd: time 1.873e-06/0.3228, allocations: 4 kB / 1.194 GB, free: 3.691 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 9.067e-06/0.3228, allocations: 0 / 1.194 GB, free: 3.691 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006726/0.3235, allocations: 306.1 kB / 1.195 GB, free: 3.359 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.3235, allocations: 15.98 kB / 1.195 GB, free: 3.344 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001184/0.3236, allocations: 8.891 kB / 1.195 GB, free: 3.336 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.3238, allocations: 122.4 kB / 1.195 GB, free: 3.191 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.168e-05/0.3238, allocations: 384 / 1.195 GB, free: 3.191 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.252e-05/0.3238, allocations: 12.38 kB / 1.195 GB, free: 3.18 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002399/0.324, allocations: 82.2 kB / 1.195 GB, free: 3.094 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.324, allocations: 192 / 1.195 GB, free: 3.094 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.3241, allocations: 3.938 kB / 1.195 GB, free: 3.09 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.3241, allocations: 4 kB / 1.195 GB, free: 3.086 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002225/0.3243, allocations: 51.95 kB / 1.195 GB, free: 3.035 MB / 0.8263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006672/0.325, allocations: 252.3 kB / 1.195 GB, free: 2.758 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002146/0.3252, allocations: 78.53 kB / 1.195 GB, free: 2.672 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001259/0.3253, allocations: 40.77 kB / 1.195 GB, free: 2.629 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 2.747e-05/0.3253, allocations: 4 kB / 1.195 GB, free: 2.625 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002412/0.3256, allocations: 91.48 kB / 1.195 GB, free: 2.523 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=10): time 1.343e-06/0.3256, allocations: 0 / 1.195 GB, free: 2.523 MB / 0.8263 GB Notification: Performance of matching and sorting (n=10): time 0.0005005/0.3261, allocations: 173.5 kB / 1.195 GB, free: 2.348 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.933e-05/0.3261, allocations: 59.41 kB / 1.195 GB, free: 2.277 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.866e-05/0.3262, allocations: 109.8 kB / 1.196 GB, free: 2.16 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 2.377e-05/0.3262, allocations: 25.7 kB / 1.196 GB, free: 2.129 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 6.604e-05/0.3263, allocations: 92.33 kB / 1.196 GB, free: 2.031 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 3.381e-05/0.3263, allocations: 28.16 kB / 1.196 GB, free: 2.004 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.644e-05/0.3264, allocations: 33.7 kB / 1.196 GB, free: 1.965 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.3266, allocations: 314.8 kB / 1.196 GB, free: 1.648 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001258/0.3267, allocations: 39.97 kB / 1.196 GB, free: 1.609 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001378/0.3268, allocations: 62.47 kB / 1.196 GB, free: 1.539 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000267/0.3271, allocations: 102.5 kB / 1.196 GB, free: 1.43 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.3271, allocations: 0 / 1.196 GB, free: 1.43 MB / 0.8263 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003489/0.3274, allocations: 149.5 kB / 1.196 GB, free: 1.277 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.3275, allocations: 4 kB / 1.196 GB, free: 1.273 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.3275, allocations: 3.984 kB / 1.196 GB, free: 1.27 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.3275, allocations: 8.062 kB / 1.196 GB, free: 1.262 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/0.3276, allocations: 19.98 kB / 1.196 GB, free: 1.242 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.3276, allocations: 3.938 kB / 1.196 GB, free: 1.238 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.934e-05/0.3277, allocations: 8 kB / 1.196 GB, free: 1.23 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/0.3277, allocations: 4 kB / 1.196 GB, free: 1.227 MB / 0.8263 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 12 (firOrdHol.firstTrigger,$PRE.firOrdHol.firstTrigger,firOrdHol.sampleTrigger,$whenCondition1,firOrdHol.c,$PRE.firOrdHol.c,firOrdHol.pre_uSample,$PRE.firOrdHol.pre_uSample,firOrdHol.uSample,$PRE.firOrdHol.uSample,firOrdHol.tSample,$PRE.firOrdHol.tSample) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.0001151/0.3278, allocations: 129.7 kB / 1.197 GB, free: 1.09 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.484e-05/0.3278, allocations: 3.953 kB / 1.197 GB, free: 1.086 MB / 0.8263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003994/0.3282, allocations: 149.9 kB / 1.197 GB, free: 0.9297 MB / 0.8263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.3282, allocations: 0 / 1.197 GB, free: 0.9297 MB / 0.8263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3282, allocations: 0 / 1.197 GB, free: 0.9297 MB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.391e-06/0.3282, allocations: 4 kB / 1.197 GB, free: 0.9258 MB / 0.8263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005707/0.3288, allocations: 354 kB / 1.197 GB, free: 0.543 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.3288, allocations: 256 / 1.197 GB, free: 0.543 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.33e-05/0.3289, allocations: 15.98 kB / 1.197 GB, free: 0.5273 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.3289, allocations: 0 / 1.197 GB, free: 0.5273 MB / 0.8263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.3289, allocations: 4 kB / 1.197 GB, free: 0.5234 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3289, allocations: 4 kB / 1.197 GB, free: 0.5195 MB / 0.8263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.624e-06/0.3289, allocations: 3.938 kB / 1.197 GB, free: 0.5156 MB / 0.8263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003939/0.3293, allocations: 239.5 kB / 1.197 GB, free: 272 kB / 0.8263 GB Notification: Performance of postOpt removeConstants (simulation): time 1.252e-05/0.3293, allocations: 7.953 kB / 1.197 GB, free: 264 kB / 0.8263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.048e-05/0.3293, allocations: 0 / 1.197 GB, free: 264 kB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/0.3294, allocations: 15.98 kB / 1.197 GB, free: 248 kB / 0.8263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.615e-05/0.3295, allocations: 11.86 kB / 1.197 GB, free: 236 kB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.3295, allocations: 4 kB / 1.197 GB, free: 232 kB / 0.8263 GB Notification: Performance of sorting global known variables: time 5.958e-05/0.3296, allocations: 91.27 kB / 1.197 GB, free: 140 kB / 0.8263 GB Notification: Performance of sort global known variables: time 6e-08/0.3296, allocations: 0 / 1.197 GB, free: 140 kB / 0.8263 GB Notification: Performance of remove unused functions: time 0.0002483/0.3298, allocations: 20 kB / 1.197 GB, free: 120 kB / 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: 7 (firOrdHol.sampleTrigger,$whenCondition1,firOrdHol.firstTrigger,firOrdHol.tSample,firOrdHol.uSample,firOrdHol.pre_uSample,firOrdHol.c) * Number of discrete states: 2 (firOrdHol.uSample,firOrdHol.c) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0001613/0.33, allocations: 99.19 kB / 1.198 GB, free: 12 kB / 0.8263 GB Notification: Performance of simCode: created initialization part: time 0.0003573/0.3303, allocations: 101.1 kB / 1.198 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.3303, allocations: 0 / 1.198 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001447/0.3305, allocations: 52.03 kB / 1.198 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002636/0.3307, allocations: 9.234 kB / 1.198 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000408/0.3312, allocations: 158.8 kB / 1.198 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.774e-05/0.3312, allocations: 71.33 kB / 1.198 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 3.672e-05/0.3313, allocations: 8.438 kB / 1.198 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.918e-05/0.3313, allocations: 15.42 kB / 1.198 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of SimCode: time 3.7e-07/0.3313, allocations: 0 / 1.198 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of Templates: time 0.004096/0.3354, allocations: 1.111 MB / 1.199 GB, free: 14.48 MB / 0.8419 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.sim & ./AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.756420880556107] Failed to read output from testmodel.py, exit status != 0: 0.3440229222178459 0.35820559500000004 0.032273673 Calling exit ...