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.04121/0.04121, allocations: 9.127 MB / 28.99 MB, free: 0.8086 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.0009016/0.0009016, allocations: 87.28 kB / 35.32 MB, free: 1.074 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.00114/0.00114, allocations: 164.5 kB / 38.73 MB, free: 2.508 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.9342/0.9342, allocations: 177.1 MB / 219.2 MB, free: 10.1 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.004004/0.004004, allocations: 0.8223 MB / 276.5 MB, free: 0.7227 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.589/1.589, 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 1.643e-06/1.643e-06, allocations: 0 / 0.6378 GB, free: 14.18 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.17e-05/2.334e-05, allocations: 2.312 kB / 0.6378 GB, free: 14.18 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold): time 0.00158/0.001603, allocations: 0.678 MB / 0.6385 GB, free: 13.5 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001252/0.002855, allocations: 1.143 MB / 0.6396 GB, free: 12.34 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.255e-05/0.002908, allocations: 0 / 0.6396 GB, free: 12.34 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 2.933e-05/0.002937, allocations: 3.938 kB / 0.6396 GB, free: 12.34 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 7.41e-05/0.003011, allocations: 11.94 kB / 0.6396 GB, free: 12.33 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003068/0.003318, allocations: 51.7 kB / 0.6397 GB, free: 12.28 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 8.545e-05/0.003404, allocations: 51.83 kB / 0.6397 GB, free: 12.23 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 6.753e-05/0.003471, allocations: 8 kB / 0.6397 GB, free: 12.22 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 7.25e-05/0.003544, allocations: 27.91 kB / 0.6397 GB, free: 12.19 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 4.41e-05/0.003588, allocations: 19.97 kB / 0.6398 GB, free: 12.17 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.393e-05/0.003602, allocations: 4 kB / 0.6398 GB, free: 12.17 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 5.517e-05/0.003657, allocations: 19.98 kB / 0.6398 GB, free: 12.15 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 2.097e-05/0.003678, allocations: 15.92 kB / 0.6398 GB, free: 12.13 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 2.018e-05/0.003698, allocations: 11.98 kB / 0.6398 GB, free: 12.12 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001058/0.003804, allocations: 63.73 kB / 0.6399 GB, free: 12.06 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.003806, allocations: 0 / 0.6399 GB, free: 12.06 MB / 0.6043 GB Notification: Performance of FrontEnd: time 8.01e-07/0.003807, allocations: 0 / 0.6399 GB, free: 12.06 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.217e-06/0.00381, allocations: 0 / 0.6399 GB, free: 12.06 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.0003805/0.004191, allocations: 268.4 kB / 0.6401 GB, free: 11.77 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.004224, allocations: 11.98 kB / 0.6401 GB, free: 11.76 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.598e-05/0.0043, allocations: 4.938 kB / 0.6401 GB, free: 11.75 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.525e-05/0.004375, allocations: 117.7 kB / 0.6402 GB, free: 11.61 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.004386, allocations: 4.375 kB / 0.6403 GB, free: 11.61 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.746e-06/0.004394, allocations: 4.375 kB / 0.6403 GB, free: 11.61 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.482e-05/0.004489, allocations: 70.88 kB / 0.6403 GB, free: 11.53 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.172e-06/0.004495, allocations: 192 / 0.6403 GB, free: 11.53 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.004504, allocations: 4.359 kB / 0.6403 GB, free: 11.52 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.004508, allocations: 384 / 0.6403 GB, free: 11.52 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.68e-05/0.004535, allocations: 19.91 kB / 0.6403 GB, free: 11.5 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002254/0.00476, allocations: 160.2 kB / 0.6405 GB, free: 11.33 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 6.053e-05/0.004821, allocations: 34.5 kB / 0.6405 GB, free: 11.29 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.667e-05/0.004838, allocations: 12.98 kB / 0.6405 GB, free: 11.27 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.46e-05/0.004852, allocations: 11.94 kB / 0.6406 GB, free: 11.26 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.13e-05/0.004913, allocations: 55.45 kB / 0.6406 GB, free: 11.2 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/0.004914, allocations: 0 / 0.6406 GB, free: 11.2 MB / 0.6043 GB Notification: Performance of matching and sorting (n=7): time 0.0001086/0.005023, allocations: 61.55 kB / 0.6407 GB, free: 11.13 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.582e-05/0.005059, allocations: 55.41 kB / 0.6407 GB, free: 11.06 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.123e-05/0.00511, allocations: 114.7 kB / 0.6408 GB, free: 10.94 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.003e-05/0.00512, allocations: 25.7 kB / 0.6409 GB, free: 10.91 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 2.993e-05/0.00515, allocations: 84.12 kB / 0.6409 GB, free: 10.82 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 2.441e-05/0.005174, allocations: 23.8 kB / 0.641 GB, free: 10.8 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.145e-05/0.005206, allocations: 29.69 kB / 0.641 GB, free: 10.76 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 7.254e-05/0.005278, allocations: 310.8 kB / 0.6413 GB, free: 10.45 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.514e-05/0.005294, allocations: 15.98 kB / 0.6413 GB, free: 10.43 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.927e-05/0.005323, allocations: 36.28 kB / 0.6413 GB, free: 10.38 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.052e-05/0.005383, allocations: 56.2 kB / 0.6414 GB, free: 10.31 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.005386, allocations: 0 / 0.6414 GB, free: 10.31 MB / 0.6043 GB Notification: Performance of matching and sorting (n=10) (initialization): time 7.753e-05/0.005463, allocations: 69.55 kB / 0.6415 GB, free: 10.24 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.005475, allocations: 12.12 kB / 0.6415 GB, free: 10.23 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.83e-06/0.005479, allocations: 0 / 0.6415 GB, free: 10.23 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.005491, allocations: 3.938 kB / 0.6415 GB, free: 10.22 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.814e-05/0.005559, allocations: 20.17 kB / 0.6415 GB, free: 10.2 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.431e-06/0.005564, allocations: 4 kB / 0.6415 GB, free: 10.2 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.706e-05/0.005591, allocations: 8 kB / 0.6415 GB, free: 10.19 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.767e-06/0.0056, allocations: 4 kB / 0.6415 GB, free: 10.19 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.841e-05/0.005669, allocations: 117.8 kB / 0.6416 GB, free: 10.06 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.065e-06/0.005677, allocations: 4 kB / 0.6416 GB, free: 10.06 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.445e-05/0.005761, allocations: 62.05 kB / 0.6417 GB, free: 9.992 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.005764, allocations: 7.938 kB / 0.6417 GB, free: 9.984 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.005766, allocations: 0 / 0.6417 GB, free: 9.984 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.005769, allocations: 0 / 0.6417 GB, free: 9.984 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001709/0.00594, allocations: 210.7 kB / 0.6419 GB, free: 9.754 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.005941, allocations: 0 / 0.6419 GB, free: 9.754 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.753e-05/0.005969, allocations: 11.92 kB / 0.6419 GB, free: 9.742 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.005971, allocations: 4 kB / 0.6419 GB, free: 9.738 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.005977, allocations: 3.938 kB / 0.6419 GB, free: 9.734 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.005979, allocations: 0 / 0.6419 GB, free: 9.734 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.005979, allocations: 3.938 kB / 0.6419 GB, free: 9.73 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.024e-05/0.00606, allocations: 151.5 kB / 0.6421 GB, free: 9.566 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 6.632e-06/0.006066, allocations: 8.047 kB / 0.6421 GB, free: 9.559 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.202e-05/0.006088, allocations: 7.922 kB / 0.6421 GB, free: 9.551 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.088e-05/0.006129, allocations: 7.984 kB / 0.6421 GB, free: 9.543 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.608e-05/0.006155, allocations: 0 / 0.6421 GB, free: 9.543 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.006167, allocations: 8 kB / 0.6421 GB, free: 9.535 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.188e-05/0.006179, allocations: 12.84 kB / 0.6421 GB, free: 9.52 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.006179, allocations: 0 / 0.6421 GB, free: 9.52 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001377/0.006317, allocations: 12 kB / 0.6421 GB, free: 9.508 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.000101/0.006418, allocations: 88.34 kB / 0.6422 GB, free: 9.414 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 7.462e-05/0.006492, allocations: 40.77 kB / 0.6422 GB, free: 9.371 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.006495, allocations: 4 kB / 0.6422 GB, free: 9.367 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 2.601e-05/0.006521, allocations: 13.41 kB / 0.6422 GB, free: 9.352 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001311/0.006652, allocations: 15.92 kB / 0.6423 GB, free: 9.336 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003317/0.006984, allocations: 152.5 kB / 0.6424 GB, free: 9.16 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.246e-05/0.007016, allocations: 59.56 kB / 0.6425 GB, free: 9.082 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 2.898e-05/0.007045, allocations: 11.98 kB / 0.6425 GB, free: 9.07 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.644e-05/0.007092, allocations: 59.38 kB / 0.6425 GB, free: 9.012 MB / 0.6043 GB Notification: Performance of SimCode: time 3.01e-07/0.007092, allocations: 0 / 0.6425 GB, free: 9.012 MB / 0.6043 GB Notification: Performance of Templates: time 0.002282/0.009374, allocations: 0.9017 MB / 0.6434 GB, free: 8.113 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 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.269812568090856]