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.0007981/0.0007981, 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.001278/0.001278, allocations: 203.8 kB / 23 MB, free: 3.109 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.8967/0.8967, allocations: 230.6 MB / 256.8 MB, free: 3.469 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.03669/0.03669, allocations: 12.18 MB / 325.4 MB, free: 3.422 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.0004067/0.0004067, allocations: 27.84 kB / 384.9 MB, free: 45.86 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.603/1.603, allocations: 353.8 MB / 0.7794 GB, free: 13.08 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.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.002088/0.002088, allocations: 119.8 kB / 1.061 GB, free: 9.391 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2224/0.2245, allocations: 134.9 MB / 1.193 GB, free: 2.566 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold): time 0.001324/0.2259, allocations: 0.6697 MB / 1.194 GB, free: 1.898 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0009236/0.2268, allocations: 1.142 MB / 1.195 GB, free: 0.7461 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.484e-05/0.2268, allocations: 0 / 1.195 GB, free: 0.7461 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.575e-05/0.2268, allocations: 7.922 kB / 1.195 GB, free: 0.7383 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 5.883e-05/0.2269, allocations: 11.86 kB / 1.195 GB, free: 0.7266 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002456/0.2272, allocations: 39.91 kB / 1.195 GB, free: 0.6875 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001139/0.2273, allocations: 79.75 kB / 1.195 GB, free: 0.6094 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.2274, allocations: 8 kB / 1.195 GB, free: 0.6016 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 7.172e-05/0.2274, allocations: 27.92 kB / 1.195 GB, free: 0.5742 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 5.461e-05/0.2275, allocations: 31.89 kB / 1.195 GB, free: 0.543 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.2275, allocations: 8 kB / 1.195 GB, free: 0.5352 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 6.3e-05/0.2276, allocations: 23.98 kB / 1.195 GB, free: 0.5117 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.042e-05/0.2276, allocations: 19.92 kB / 1.195 GB, free: 0.4922 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.592e-05/0.2276, allocations: 35.8 kB / 1.195 GB, free: 468 kB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0003751/0.228, allocations: 79.62 kB / 1.195 GB, free: 388 kB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.228, allocations: 4 kB / 1.195 GB, free: 384 kB / 0.823 GB Notification: Performance of FrontEnd: time 1.282e-06/0.228, allocations: 0 / 1.195 GB, free: 384 kB / 0.823 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.228, allocations: 0 / 1.195 GB, free: 384 kB / 0.823 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.0004525/0.2285, allocations: 310.1 kB / 1.195 GB, free: 40 kB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.2285, allocations: 11.98 kB / 1.195 GB, free: 28 kB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.432e-05/0.2286, allocations: 12.88 kB / 1.195 GB, free: 16 kB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.716e-05/0.2287, allocations: 114.5 kB / 1.196 GB, free: 15.88 MB / 0.8387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/0.2287, allocations: 4.375 kB / 1.196 GB, free: 15.88 MB / 0.8387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.692e-05/0.2287, allocations: 8.375 kB / 1.196 GB, free: 15.87 MB / 0.8387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.2289, allocations: 84.98 kB / 1.196 GB, free: 15.78 MB / 0.8387 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.2289, allocations: 192 / 1.196 GB, free: 15.78 MB / 0.8387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.2289, allocations: 7.938 kB / 1.196 GB, free: 15.77 MB / 0.8387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.2289, allocations: 0 / 1.196 GB, free: 15.77 MB / 0.8387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001067/0.229, allocations: 55.95 kB / 1.196 GB, free: 15.72 MB / 0.8387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003832/0.2294, allocations: 279.8 kB / 1.196 GB, free: 15.4 MB / 0.8387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001156/0.2295, allocations: 78.41 kB / 1.196 GB, free: 15.32 MB / 0.8387 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.035e-05/0.2296, allocations: 44.83 kB / 1.196 GB, free: 15.27 MB / 0.8387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/0.2296, allocations: 4 kB / 1.196 GB, free: 15.27 MB / 0.8387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001296/0.2297, allocations: 87.36 kB / 1.196 GB, free: 15.17 MB / 0.8387 GB Notification: Performance of pre-optimization done (n=10): time 1.112e-06/0.2297, allocations: 0 / 1.196 GB, free: 15.17 MB / 0.8387 GB Notification: Performance of matching and sorting (n=10): time 0.0002894/0.23, allocations: 177.7 kB / 1.196 GB, free: 14.99 MB / 0.8387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/0.23, allocations: 55.41 kB / 1.196 GB, free: 14.92 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.542e-05/0.2301, allocations: 105.8 kB / 1.196 GB, free: 14.81 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.2301, allocations: 33.7 kB / 1.197 GB, free: 14.77 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 3.844e-05/0.2301, allocations: 88.7 kB / 1.197 GB, free: 14.68 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 2.408e-05/0.2302, allocations: 31.77 kB / 1.197 GB, free: 14.64 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.512e-05/0.2302, allocations: 37.64 kB / 1.197 GB, free: 14.6 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 8.209e-05/0.2303, allocations: 314.8 kB / 1.197 GB, free: 14.29 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.303e-05/0.2303, allocations: 43.91 kB / 1.197 GB, free: 14.24 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.446e-05/0.2304, allocations: 65.45 kB / 1.197 GB, free: 14.17 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001264/0.2306, allocations: 102.5 kB / 1.197 GB, free: 14.06 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.2306, allocations: 4 kB / 1.197 GB, free: 14.06 MB / 0.8387 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001644/0.2307, allocations: 141.6 kB / 1.197 GB, free: 13.91 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.2307, allocations: 11.92 kB / 1.197 GB, free: 13.9 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.2307, allocations: 0 / 1.197 GB, free: 13.9 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.2307, allocations: 4 kB / 1.197 GB, free: 13.9 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.545e-05/0.2308, allocations: 19.98 kB / 1.197 GB, free: 13.88 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.2308, allocations: 4 kB / 1.197 GB, free: 13.88 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.079e-05/0.2309, allocations: 8.062 kB / 1.197 GB, free: 13.87 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.2309, allocations: 7.984 kB / 1.197 GB, free: 13.86 MB / 0.8387 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 6.571e-05/0.2309, allocations: 134.2 kB / 1.197 GB, free: 13.72 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.114e-06/0.2309, allocations: 3.953 kB / 1.197 GB, free: 13.71 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000196/0.2311, allocations: 145.9 kB / 1.198 GB, free: 13.56 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.2311, allocations: 0 / 1.198 GB, free: 13.56 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.2311, allocations: 4 kB / 1.198 GB, free: 13.56 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.2311, allocations: 0 / 1.198 GB, free: 13.56 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002944/0.2314, allocations: 381.4 kB / 1.198 GB, free: 13.14 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.2314, allocations: 0 / 1.198 GB, free: 13.14 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.103e-05/0.2315, allocations: 11.98 kB / 1.198 GB, free: 13.12 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.2315, allocations: 0 / 1.198 GB, free: 13.12 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.2315, allocations: 0 / 1.198 GB, free: 13.12 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.2315, allocations: 0 / 1.198 GB, free: 13.12 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.2315, allocations: 8 kB / 1.198 GB, free: 13.12 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001748/0.2317, allocations: 239.5 kB / 1.198 GB, free: 12.87 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 7.273e-06/0.2317, allocations: 7.953 kB / 1.198 GB, free: 12.86 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.2317, allocations: 0 / 1.198 GB, free: 12.86 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.85e-05/0.2317, allocations: 7.984 kB / 1.198 GB, free: 12.85 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.533e-05/0.2318, allocations: 11.98 kB / 1.198 GB, free: 12.84 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-06/0.2318, allocations: 11.94 kB / 1.198 GB, free: 12.83 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 2.662e-05/0.2318, allocations: 83.27 kB / 1.198 GB, free: 12.75 MB / 0.8387 GB Notification: Performance of sort global known variables: time 5e-08/0.2318, allocations: 3.938 kB / 1.198 GB, free: 12.74 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0001632/0.232, allocations: 20 kB / 1.198 GB, free: 12.72 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: 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.0001013/0.2321, allocations: 115.1 kB / 1.198 GB, free: 12.6 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0001749/0.2322, allocations: 95.94 kB / 1.199 GB, free: 12.51 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2322, allocations: 0 / 1.199 GB, free: 12.51 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 6.651e-05/0.2323, allocations: 35.98 kB / 1.199 GB, free: 12.47 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001835/0.2325, allocations: 15.92 kB / 1.199 GB, free: 12.46 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002675/0.2327, allocations: 192.4 kB / 1.199 GB, free: 12.24 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00016/0.2329, allocations: 0.6885 MB / 1.199 GB, free: 11.53 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.749e-05/0.2329, allocations: 15.5 kB / 1.2 GB, free: 11.51 MB / 0.8387 GB Notification: Performance of SimCode: time 3.71e-07/0.2329, allocations: 0 / 1.2 GB, free: 11.51 MB / 0.8387 GB Notification: Performance of Templates: time 0.001736/0.2347, allocations: 1.096 MB / 1.201 GB, free: 10.42 MB / 0.8387 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: 6.844702956266701] Failed to read output from testmodel.py, exit status != 0: 0.24084117356687784 0.24792581400000002 0.018307217 Calling exit ...