Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.conf.json 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.06344/0.06344, allocations: 9.129 MB / 28.99 MB, free: 0.8281 MB / 18.57 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] 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.001063/0.001063, allocations: 87.28 kB / 35.33 MB, free: 1.09 MB / 24.77 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.001297/0.001297, allocations: 165.1 kB / 38.73 MB, free: 2.492 MB / 24.77 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.9553/0.9553, allocations: 177.1 MB / 219.2 MB, free: 10.13 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo): time 0.004398/0.004398, allocations: 0.8146 MB / 276.5 MB, free: 0.7539 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo): time 1.71/1.71, allocations: 274.9 MB / 0.5419 GB, free: 0.6406 MB / 0.4949 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo) Using package SDF with version 0.4.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/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) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo) Running command: translateModel(AixLib.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold") translateModel(AixLib.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 0.6379 GB, free: 14.12 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.025e-05/2.236e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.12 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold): time 0.00148/0.001502, allocations: 0.7251 MB / 0.6386 GB, free: 13.39 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001535/0.003037, allocations: 1.131 MB / 0.6397 GB, free: 12.25 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.23e-05/0.003089, allocations: 4 kB / 0.6397 GB, free: 12.25 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 3.161e-05/0.003121, allocations: 3.938 kB / 0.6397 GB, free: 12.24 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 8.427e-05/0.003205, allocations: 7.922 kB / 0.6397 GB, free: 12.23 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003134/0.003519, allocations: 51.7 kB / 0.6397 GB, free: 12.18 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 9.235e-05/0.003611, allocations: 47.86 kB / 0.6398 GB, free: 12.14 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 8.832e-05/0.003699, allocations: 15.91 kB / 0.6398 GB, free: 12.12 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 9.359e-05/0.003793, allocations: 27.97 kB / 0.6398 GB, free: 12.09 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 4.894e-05/0.003842, allocations: 19.97 kB / 0.6399 GB, free: 12.07 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.686e-05/0.003859, allocations: 4 kB / 0.6399 GB, free: 12.07 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 8.635e-05/0.003945, allocations: 23.92 kB / 0.6399 GB, free: 12.05 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 1.869e-05/0.003964, allocations: 15.94 kB / 0.6399 GB, free: 12.03 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 2.476e-05/0.003988, allocations: 15.97 kB / 0.6399 GB, free: 12.02 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001137/0.004102, allocations: 51.81 kB / 0.64 GB, free: 11.96 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.004104, allocations: 0 / 0.64 GB, free: 11.96 MB / 0.6043 GB Notification: Performance of FrontEnd: time 8.31e-07/0.004105, allocations: 0 / 0.64 GB, free: 11.96 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.657e-06/0.004109, allocations: 0 / 0.64 GB, free: 11.96 MB / 0.6043 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003316/0.00444, allocations: 268.4 kB / 0.6402 GB, free: 11.68 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.004477, allocations: 15.98 kB / 0.6402 GB, free: 11.66 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.557e-05/0.004562, allocations: 12.86 kB / 0.6402 GB, free: 11.65 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.937e-05/0.004642, allocations: 109.8 kB / 0.6403 GB, free: 11.52 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.004652, allocations: 4.312 kB / 0.6404 GB, free: 11.51 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.885e-06/0.00466, allocations: 4.375 kB / 0.6404 GB, free: 11.51 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001023/0.004763, allocations: 70.91 kB / 0.6404 GB, free: 11.43 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.00477, allocations: 192 / 0.6404 GB, free: 11.43 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/0.004778, allocations: 4.312 kB / 0.6404 GB, free: 11.43 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.004783, allocations: 4.375 kB / 0.6404 GB, free: 11.42 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.345e-05/0.004806, allocations: 7.938 kB / 0.6404 GB, free: 11.41 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002435/0.00505, allocations: 168.2 kB / 0.6406 GB, free: 11.23 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 6.263e-05/0.005112, allocations: 38.52 kB / 0.6406 GB, free: 11.19 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.698e-05/0.005129, allocations: 12.84 kB / 0.6406 GB, free: 11.17 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.27e-05/0.005142, allocations: 0 / 0.6406 GB, free: 11.17 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.396e-05/0.005206, allocations: 63.58 kB / 0.6407 GB, free: 11.1 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.005207, allocations: 0 / 0.6407 GB, free: 11.1 MB / 0.6043 GB Notification: Performance of matching and sorting (n=7): time 0.0001109/0.005318, allocations: 57.56 kB / 0.6408 GB, free: 11.04 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.324e-05/0.005351, allocations: 55.39 kB / 0.6408 GB, free: 10.97 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.852e-05/0.00541, allocations: 106.7 kB / 0.6409 GB, free: 10.85 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.298e-05/0.005423, allocations: 29.7 kB / 0.6409 GB, free: 10.82 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 2.975e-05/0.005453, allocations: 92.11 kB / 0.641 GB, free: 10.72 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.954e-05/0.005472, allocations: 23.8 kB / 0.6411 GB, free: 10.7 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.051e-05/0.005503, allocations: 25.69 kB / 0.6411 GB, free: 10.67 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 7.486e-05/0.005578, allocations: 314.8 kB / 0.6414 GB, free: 10.35 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.51e-05/0.005593, allocations: 4 kB / 0.6414 GB, free: 10.35 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.518e-05/0.005628, allocations: 44.27 kB / 0.6414 GB, free: 10.29 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.648e-05/0.005684, allocations: 56.16 kB / 0.6415 GB, free: 10.22 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.005686, allocations: 0 / 0.6415 GB, free: 10.22 MB / 0.6043 GB Notification: Performance of matching and sorting (n=10) (initialization): time 7.98e-05/0.005766, allocations: 73.59 kB / 0.6416 GB, free: 10.14 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.005777, allocations: 4 kB / 0.6416 GB, free: 10.14 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.005783, allocations: 4 kB / 0.6416 GB, free: 10.13 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.005796, allocations: 3.938 kB / 0.6416 GB, free: 10.13 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.156e-05/0.005868, allocations: 15.94 kB / 0.6416 GB, free: 10.11 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.005873, allocations: 7.984 kB / 0.6416 GB, free: 10.11 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.758e-05/0.005901, allocations: 8 kB / 0.6416 GB, free: 10.1 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.005907, allocations: 0 / 0.6416 GB, free: 10.1 MB / 0.6043 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 (zerOrdHol.firstTrigger,$PRE.zerOrdHol.firstTrigger,zerOrdHol.sampleTrigger,$whenCondition1,$PRE.zerOrdHol.ySample,zerOrdHol.ySample) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.843e-05/0.005976, allocations: 118 kB / 0.6417 GB, free: 9.973 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.065e-05/0.005986, allocations: 7.984 kB / 0.6417 GB, free: 9.965 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.751e-05/0.006074, allocations: 62.34 kB / 0.6418 GB, free: 9.898 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.006078, allocations: 7.922 kB / 0.6418 GB, free: 9.891 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.006082, allocations: 4 kB / 0.6418 GB, free: 9.887 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.006086, allocations: 3.984 kB / 0.6418 GB, free: 9.883 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001661/0.006252, allocations: 214.6 kB / 0.642 GB, free: 9.648 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.006253, allocations: 0 / 0.642 GB, free: 9.648 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.158e-05/0.006285, allocations: 4 kB / 0.642 GB, free: 9.645 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.006287, allocations: 4 kB / 0.642 GB, free: 9.641 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.006294, allocations: 11.92 kB / 0.642 GB, free: 9.629 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-07/0.006295, allocations: 4 kB / 0.642 GB, free: 9.625 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.006296, allocations: 0 / 0.642 GB, free: 9.625 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.148e-05/0.006378, allocations: 143.5 kB / 0.6422 GB, free: 9.469 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 7.414e-06/0.006385, allocations: 7.984 kB / 0.6422 GB, free: 9.461 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.006399, allocations: 3.938 kB / 0.6422 GB, free: 9.457 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.047e-05/0.006439, allocations: 8 kB / 0.6422 GB, free: 9.449 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.844e-05/0.006467, allocations: 3.984 kB / 0.6422 GB, free: 9.445 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.786e-06/0.006476, allocations: 4 kB / 0.6422 GB, free: 9.441 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.893e-05/0.006495, allocations: 12.8 kB / 0.6422 GB, free: 9.426 MB / 0.6043 GB Notification: Performance of sort global known variables: time 9.1e-08/0.006495, allocations: 0 / 0.6422 GB, free: 9.426 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001447/0.00664, allocations: 23.98 kB / 0.6422 GB, free: 9.402 MB / 0.6043 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 (zerOrdHol.sampleTrigger,$whenCondition1,zerOrdHol.ySample,zerOrdHol.firstTrigger) * Number of discrete states: 1 (zerOrdHol.ySample) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.0001046/0.006745, allocations: 80.36 kB / 0.6423 GB, free: 9.316 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 7.922e-05/0.006824, allocations: 40.77 kB / 0.6423 GB, free: 9.273 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.006826, allocations: 0 / 0.6423 GB, free: 9.273 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 2.798e-05/0.006854, allocations: 21.39 kB / 0.6424 GB, free: 9.25 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000135/0.006989, allocations: 8 kB / 0.6424 GB, free: 9.242 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003637/0.007353, allocations: 160.8 kB / 0.6425 GB, free: 9.059 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.582e-05/0.007388, allocations: 63.36 kB / 0.6426 GB, free: 8.977 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 2.252e-05/0.007411, allocations: 0 / 0.6426 GB, free: 8.977 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.427e-05/0.007465, allocations: 67.36 kB / 0.6426 GB, free: 8.91 MB / 0.6043 GB Notification: Performance of SimCode: time 8.51e-07/0.007466, allocations: 4 kB / 0.6426 GB, free: 8.906 MB / 0.6043 GB Notification: Performance of Templates: time 0.002434/0.0099, allocations: 0.8976 MB / 0.6435 GB, free: 8.012 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.sim & ./AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.3862163769081235]