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.001745/0.001745, allocations: 109.1 kB / 18.94 MB, free: 2.797 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.001802/0.001802, allocations: 221.1 kB / 22.26 MB, free: 5.207 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.49/1.49, allocations: 230.6 MB / 256 MB, free: 7.953 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.06648/0.06648, allocations: 12.2 MB / 324.6 MB, free: 7.324 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.0007667/0.0007667, allocations: 27.78 kB / 384.1 MB, free: 46.51 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 3.052/3.052, allocations: 353.8 MB / 0.7787 GB, free: 1.02 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.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.003613/0.003613, allocations: 126.2 kB / 1.061 GB, free: 13 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2628/0.2664, allocations: 134.9 MB / 1.192 GB, free: 6.184 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold): time 0.001932/0.2683, allocations: 0.6688 MB / 1.193 GB, free: 5.52 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 0.001518/0.2699, allocations: 1.13 MB / 1.194 GB, free: 4.379 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.242e-05/0.2699, allocations: 0 / 1.194 GB, free: 4.379 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 3.083e-05/0.2699, allocations: 7.875 kB / 1.194 GB, free: 4.371 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 6.039e-05/0.27, allocations: 7.938 kB / 1.194 GB, free: 4.363 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002848/0.2703, allocations: 51.81 kB / 1.194 GB, free: 4.312 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.0001063/0.2704, allocations: 47.86 kB / 1.194 GB, free: 4.266 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 9.126e-05/0.2705, allocations: 15.92 kB / 1.194 GB, free: 4.25 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 7.068e-05/0.2705, allocations: 19.92 kB / 1.194 GB, free: 4.23 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 6.035e-05/0.2706, allocations: 27.91 kB / 1.194 GB, free: 4.203 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 1.409e-05/0.2706, allocations: 4 kB / 1.194 GB, free: 4.199 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 7.668e-05/0.2707, allocations: 23.98 kB / 1.194 GB, free: 4.176 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 2.046e-05/0.2707, allocations: 7.984 kB / 1.194 GB, free: 4.168 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 4.066e-05/0.2708, allocations: 27.86 kB / 1.194 GB, free: 4.141 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.000145/0.2709, allocations: 67.72 kB / 1.194 GB, free: 4.074 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.2709, allocations: 0 / 1.194 GB, free: 4.074 MB / 0.8263 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2709, allocations: 0 / 1.194 GB, free: 4.074 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.2709, allocations: 0 / 1.194 GB, free: 4.074 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005959/0.2715, allocations: 298.2 kB / 1.195 GB, free: 3.75 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.2715, allocations: 11.98 kB / 1.195 GB, free: 3.738 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.516e-05/0.2716, allocations: 12.83 kB / 1.195 GB, free: 3.727 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000116/0.2717, allocations: 114.5 kB / 1.195 GB, free: 3.59 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.967e-06/0.2717, allocations: 384 / 1.195 GB, free: 3.59 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.963e-05/0.2718, allocations: 4.375 kB / 1.195 GB, free: 3.586 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002156/0.272, allocations: 62.22 kB / 1.195 GB, free: 3.52 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/0.272, allocations: 4.188 kB / 1.195 GB, free: 3.516 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.272, allocations: 11.94 kB / 1.195 GB, free: 3.504 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.272, allocations: 0 / 1.195 GB, free: 3.504 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001885/0.2722, allocations: 39.95 kB / 1.195 GB, free: 3.465 MB / 0.8263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004776/0.2727, allocations: 247.9 kB / 1.195 GB, free: 3.18 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001711/0.2728, allocations: 66.47 kB / 1.195 GB, free: 3.105 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.273, allocations: 28.95 kB / 1.195 GB, free: 3.074 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 1.811e-05/0.273, allocations: 0 / 1.195 GB, free: 3.074 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002205/0.2732, allocations: 87.36 kB / 1.195 GB, free: 2.977 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=7): time 1.443e-06/0.2732, allocations: 0 / 1.195 GB, free: 2.977 MB / 0.8263 GB Notification: Performance of matching and sorting (n=7): time 0.0004602/0.2737, allocations: 121.6 kB / 1.195 GB, free: 2.852 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/0.2737, allocations: 51.41 kB / 1.195 GB, free: 2.789 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.448e-05/0.2738, allocations: 105.8 kB / 1.195 GB, free: 2.676 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/0.2738, allocations: 33.7 kB / 1.196 GB, free: 2.637 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 5.179e-05/0.2739, allocations: 84.09 kB / 1.196 GB, free: 2.551 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 2.407e-05/0.2739, allocations: 19.84 kB / 1.196 GB, free: 2.531 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.066e-05/0.2739, allocations: 21.7 kB / 1.196 GB, free: 2.504 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.2741, allocations: 322.8 kB / 1.196 GB, free: 2.18 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001071/0.2742, allocations: 27.97 kB / 1.196 GB, free: 2.152 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/0.2743, allocations: 64.14 kB / 1.196 GB, free: 2.074 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000232/0.2745, allocations: 100.1 kB / 1.196 GB, free: 1.961 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.2746, allocations: 3.938 kB / 1.196 GB, free: 1.957 MB / 0.8263 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002877/0.2748, allocations: 121.6 kB / 1.196 GB, free: 1.832 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.2749, allocations: 5.406 kB / 1.196 GB, free: 1.828 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.2749, allocations: 4.25 kB / 1.196 GB, free: 1.824 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.2749, allocations: 0 / 1.196 GB, free: 1.824 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.275, allocations: 19.98 kB / 1.196 GB, free: 1.805 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.275, allocations: 4 kB / 1.196 GB, free: 1.801 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.31e-05/0.2751, allocations: 7.984 kB / 1.196 GB, free: 1.793 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.294e-05/0.2751, allocations: 4 kB / 1.196 GB, free: 1.789 MB / 0.8263 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 9.514e-05/0.2752, allocations: 121.7 kB / 1.196 GB, free: 1.66 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.627e-05/0.2752, allocations: 11.95 kB / 1.196 GB, free: 1.648 MB / 0.8263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002989/0.2755, allocations: 110 kB / 1.197 GB, free: 1.531 MB / 0.8263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.2755, allocations: 0 / 1.197 GB, free: 1.531 MB / 0.8263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.2755, allocations: 0 / 1.197 GB, free: 1.531 MB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.2755, allocations: 0 / 1.197 GB, free: 1.531 MB / 0.8263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004708/0.276, allocations: 337.5 kB / 1.197 GB, free: 1.152 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.276, allocations: 4 kB / 1.197 GB, free: 1.148 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.501e-05/0.276, allocations: 8 kB / 1.197 GB, free: 1.141 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.276, allocations: 0 / 1.197 GB, free: 1.141 MB / 0.8263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.2761, allocations: 3.984 kB / 1.197 GB, free: 1.137 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.2761, allocations: 0 / 1.197 GB, free: 1.137 MB / 0.8263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.2761, allocations: 0 / 1.197 GB, free: 1.137 MB / 0.8263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003202/0.2764, allocations: 203.3 kB / 1.197 GB, free: 0.9219 MB / 0.8263 GB Notification: Performance of postOpt removeConstants (simulation): time 1.342e-05/0.2764, allocations: 11.92 kB / 1.197 GB, free: 0.9102 MB / 0.8263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.837e-05/0.2764, allocations: 0 / 1.197 GB, free: 0.9102 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.2765, allocations: 7.984 kB / 1.197 GB, free: 0.9023 MB / 0.8263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.213e-05/0.2766, allocations: 8 kB / 1.197 GB, free: 0.8945 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.2766, allocations: 3.938 kB / 1.197 GB, free: 0.8906 MB / 0.8263 GB Notification: Performance of sorting global known variables: time 5.674e-05/0.2766, allocations: 87.27 kB / 1.197 GB, free: 0.8047 MB / 0.8263 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2766, allocations: 0 / 1.197 GB, free: 0.8047 MB / 0.8263 GB Notification: Performance of remove unused functions: time 0.0002552/0.2769, allocations: 12 kB / 1.197 GB, free: 0.793 MB / 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: 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.000139/0.277, allocations: 107.3 kB / 1.197 GB, free: 0.6797 MB / 0.8263 GB Notification: Performance of simCode: created initialization part: time 0.0003126/0.2773, allocations: 71.81 kB / 1.197 GB, free: 0.6094 MB / 0.8263 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.2773, allocations: 4 kB / 1.197 GB, free: 0.6055 MB / 0.8263 GB Notification: Performance of simCode: created simulation system equations: time 0.0001154/0.2775, allocations: 27.97 kB / 1.197 GB, free: 0.5781 MB / 0.8263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000279/0.2777, allocations: 13.22 kB / 1.197 GB, free: 0.5664 MB / 0.8263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004033/0.2781, allocations: 142.1 kB / 1.198 GB, free: 412 kB / 0.8263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003716/0.2785, allocations: 0.6923 MB / 1.198 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 3.08e-05/0.2785, allocations: 4 kB / 1.198 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.699e-05/0.2786, allocations: 7.438 kB / 1.198 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of SimCode: time 3.31e-07/0.2786, allocations: 4 kB / 1.198 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of Templates: time 0.003754/0.2823, allocations: 0.8674 MB / 1.199 GB, free: 14.81 MB / 0.8419 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: 8.933384601026773] Failed to read output from testmodel.py, exit status != 0: 0.2912377268075943 0.305164459 0.031278036 Calling exit ...