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/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.0008279/0.0008279, 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.0008448/0.0008448, allocations: 207.8 kB / 23.01 MB, free: 3.121 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.8704/0.8704, allocations: 230.6 MB / 256.8 MB, free: 3.445 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.03608/0.03608, allocations: 12.19 MB / 325.4 MB, free: 3.418 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.0004349/0.0004349, allocations: 32.56 kB / 384.9 MB, free: 45.78 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.618/1.618, allocations: 353.8 MB / 0.7795 GB, free: 13.02 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.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: 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.001472/0.001472, allocations: 120.3 kB / 1.061 GB, free: 9.438 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2235/0.225, 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.ZeroOrderHold): time 0.001353/0.2264, allocations: 0.6619 MB / 1.194 GB, free: 1.953 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.00103/0.2274, allocations: 1.126 MB / 1.195 GB, free: 0.8164 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.938e-05/0.2274, allocations: 4 kB / 1.195 GB, free: 0.8125 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.653e-05/0.2275, allocations: 3.938 kB / 1.195 GB, free: 0.8086 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 6.577e-05/0.2275, allocations: 11.92 kB / 1.195 GB, free: 0.7969 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002852/0.2278, allocations: 43.84 kB / 1.195 GB, free: 0.7539 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 9.254e-05/0.2279, allocations: 55.77 kB / 1.195 GB, free: 0.6992 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 9.278e-05/0.228, allocations: 8 kB / 1.195 GB, free: 0.6914 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 6.769e-05/0.2281, allocations: 19.92 kB / 1.195 GB, free: 0.6719 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 4.691e-05/0.2281, allocations: 23.92 kB / 1.195 GB, free: 0.6484 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.238e-05/0.2281, allocations: 4 kB / 1.195 GB, free: 0.6445 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 6.584e-05/0.2282, allocations: 23.97 kB / 1.195 GB, free: 0.6211 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.792e-05/0.2282, allocations: 11.98 kB / 1.195 GB, free: 0.6094 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.596e-05/0.2283, allocations: 31.86 kB / 1.195 GB, free: 0.5781 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001272/0.2284, allocations: 67.66 kB / 1.195 GB, free: 0.5117 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.2284, allocations: 0 / 1.195 GB, free: 0.5117 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2284, allocations: 0 / 1.195 GB, free: 0.5117 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.157e-06/0.2284, allocations: 0 / 1.195 GB, free: 0.5117 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004552/0.2288, allocations: 298.1 kB / 1.195 GB, free: 192 kB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.2289, allocations: 15.98 kB / 1.195 GB, free: 176 kB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.729e-05/0.229, allocations: 8.891 kB / 1.195 GB, free: 168 kB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.89e-05/0.229, allocations: 110.5 kB / 1.195 GB, free: 32 kB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.2291, allocations: 8.359 kB / 1.195 GB, free: 24 kB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.322e-05/0.2291, allocations: 4.375 kB / 1.195 GB, free: 20 kB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001664/0.2292, allocations: 66.22 kB / 1.196 GB, free: 15.95 MB / 0.8387 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.2292, allocations: 192 / 1.196 GB, free: 15.95 MB / 0.8387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.2293, allocations: 3.938 kB / 1.196 GB, free: 15.95 MB / 0.8387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.82e-06/0.2293, allocations: 0 / 1.196 GB, free: 15.95 MB / 0.8387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.991e-05/0.2294, allocations: 51.89 kB / 1.196 GB, free: 15.89 MB / 0.8387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003567/0.2297, allocations: 251.9 kB / 1.196 GB, free: 15.61 MB / 0.8387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000114/0.2298, allocations: 54.48 kB / 1.196 GB, free: 15.54 MB / 0.8387 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.151e-05/0.2299, allocations: 28.97 kB / 1.196 GB, free: 15.51 MB / 0.8387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.2299, allocations: 4 kB / 1.196 GB, free: 15.51 MB / 0.8387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001284/0.23, allocations: 75.31 kB / 1.196 GB, free: 15.42 MB / 0.8387 GB Notification: Performance of pre-optimization done (n=7): time 2.003e-06/0.23, allocations: 0 / 1.196 GB, free: 15.42 MB / 0.8387 GB Notification: Performance of matching and sorting (n=7): time 0.0002619/0.2303, allocations: 121.7 kB / 1.196 GB, free: 15.3 MB / 0.8387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.778e-05/0.2303, allocations: 63.39 kB / 1.196 GB, free: 15.22 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.402e-05/0.2304, allocations: 109.8 kB / 1.196 GB, free: 15.11 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 1.045e-05/0.2304, allocations: 25.7 kB / 1.196 GB, free: 15.07 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 3.683e-05/0.2305, allocations: 92.08 kB / 1.196 GB, free: 14.98 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 1.637e-05/0.2305, allocations: 15.84 kB / 1.196 GB, free: 14.96 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.258e-05/0.2305, allocations: 25.72 kB / 1.196 GB, free: 14.93 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 7.83e-05/0.2306, allocations: 314.8 kB / 1.197 GB, free: 14.62 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.173e-05/0.2306, allocations: 39.91 kB / 1.197 GB, free: 14.58 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.703e-05/0.2307, allocations: 48.28 kB / 1.197 GB, free: 14.52 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001199/0.2308, allocations: 100.1 kB / 1.197 GB, free: 14.4 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.2308, allocations: 0 / 1.197 GB, free: 14.4 MB / 0.8387 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001571/0.231, allocations: 117.5 kB / 1.197 GB, free: 14.28 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.231, allocations: 8 kB / 1.197 GB, free: 14.27 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.231, allocations: 0 / 1.197 GB, free: 14.27 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.231, allocations: 4.312 kB / 1.197 GB, free: 14.27 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.567e-05/0.2311, allocations: 15.98 kB / 1.197 GB, free: 14.25 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.2311, allocations: 15.86 kB / 1.197 GB, free: 14.24 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.342e-05/0.2311, allocations: 8 kB / 1.197 GB, free: 14.23 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.2311, allocations: 4 kB / 1.197 GB, free: 14.23 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 (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.987e-05/0.2312, allocations: 124.5 kB / 1.197 GB, free: 14.1 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.918e-06/0.2312, allocations: 11.94 kB / 1.197 GB, free: 14.09 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001822/0.2314, allocations: 106 kB / 1.197 GB, free: 13.97 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.2314, allocations: 0 / 1.197 GB, free: 13.97 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.2314, allocations: 0 / 1.197 GB, free: 13.97 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.2314, allocations: 0 / 1.197 GB, free: 13.97 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002827/0.2317, allocations: 333.9 kB / 1.198 GB, free: 13.6 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.2317, allocations: 0 / 1.198 GB, free: 13.6 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.381e-05/0.2317, allocations: 11.98 kB / 1.198 GB, free: 13.59 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.2317, allocations: 8.031 kB / 1.198 GB, free: 13.58 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.2317, allocations: 4 kB / 1.198 GB, free: 13.57 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.2317, allocations: 0 / 1.198 GB, free: 13.57 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.2317, allocations: 0 / 1.198 GB, free: 13.57 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004159/0.2322, allocations: 203.4 kB / 1.198 GB, free: 13.36 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 8.566e-06/0.2322, allocations: 7.938 kB / 1.198 GB, free: 13.35 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.2322, allocations: 4 kB / 1.198 GB, free: 13.35 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.438e-05/0.2322, allocations: 11.98 kB / 1.198 GB, free: 13.34 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.874e-05/0.2323, allocations: 7.984 kB / 1.198 GB, free: 13.33 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/0.2323, allocations: 8.188 kB / 1.198 GB, free: 13.32 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 3.123e-05/0.2323, allocations: 87.28 kB / 1.198 GB, free: 13.23 MB / 0.8387 GB Notification: Performance of sort global known variables: time 5e-08/0.2323, allocations: 0 / 1.198 GB, free: 13.23 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0001697/0.2325, allocations: 12 kB / 1.198 GB, free: 13.22 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 (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.0001216/0.2326, allocations: 107.2 kB / 1.198 GB, free: 13.11 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0001611/0.2328, allocations: 67.89 kB / 1.198 GB, free: 13.04 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2328, allocations: 4 kB / 1.198 GB, free: 13.04 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 5.833e-05/0.2328, allocations: 31.91 kB / 1.198 GB, free: 13.01 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001975/0.233, allocations: 4 kB / 1.198 GB, free: 13 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002933/0.2333, allocations: 172.1 kB / 1.198 GB, free: 12.8 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001674/0.2335, allocations: 0.6884 MB / 1.199 GB, free: 12.09 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.522e-05/0.2335, allocations: 15.38 kB / 1.199 GB, free: 12.07 MB / 0.8387 GB Notification: Performance of SimCode: time 5.21e-07/0.2335, allocations: 0 / 1.199 GB, free: 12.07 MB / 0.8387 GB Notification: Performance of Templates: time 0.001796/0.2353, allocations: 0.9145 MB / 1.2 GB, free: 11.17 MB / 0.8387 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=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.780998602509499] Failed to read output from testmodel.py, exit status != 0: 0.24160264804959297 0.25116097499999995 0.021032580000000002 Calling exit ...