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.001304/0.001304, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001467/0.001467, allocations: 213 kB / 22.25 MB, free: 4.863 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.533/1.533, allocations: 230.6 MB / 256 MB, free: 7.789 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.06464/0.06464, allocations: 12.19 MB / 324.6 MB, free: 7.07 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.0008332/0.0008332, allocations: 33.34 kB / 384.1 MB, free: 47.52 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 2.623/2.623, allocations: 353.9 MB / 0.7787 GB, free: 1.625 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.003559/0.003559, allocations: 129.7 kB / 1.06 GB, free: 12.62 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.365/0.3685, allocations: 134.9 MB / 1.192 GB, free: 5.812 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold): time 0.00254/0.3711, allocations: 0.6464 MB / 1.193 GB, free: 5.168 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 0.001793/0.3729, allocations: 1.107 MB / 1.194 GB, free: 4.051 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.713e-05/0.3729, allocations: 3.938 kB / 1.194 GB, free: 4.047 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 3.034e-05/0.373, allocations: 7.875 kB / 1.194 GB, free: 4.039 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 8.305e-05/0.373, allocations: 7.922 kB / 1.194 GB, free: 4.031 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004328/0.3735, allocations: 51.83 kB / 1.194 GB, free: 3.98 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.0001348/0.3736, allocations: 51.84 kB / 1.194 GB, free: 3.93 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.3737, allocations: 7.984 kB / 1.194 GB, free: 3.922 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 8.941e-05/0.3738, allocations: 23.92 kB / 1.194 GB, free: 3.898 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 6.901e-05/0.3739, allocations: 19.92 kB / 1.194 GB, free: 3.879 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.3739, allocations: 4 kB / 1.194 GB, free: 3.875 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 7.998e-05/0.374, allocations: 15.98 kB / 1.194 GB, free: 3.859 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 3.157e-05/0.374, allocations: 15.98 kB / 1.194 GB, free: 3.844 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 4.088e-05/0.374, allocations: 19.86 kB / 1.194 GB, free: 3.824 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.0001833/0.3742, allocations: 67.78 kB / 1.194 GB, free: 3.758 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3742, allocations: 0 / 1.194 GB, free: 3.758 MB / 0.8263 GB Notification: Performance of FrontEnd: time 1.903e-06/0.3742, allocations: 4 kB / 1.194 GB, free: 3.754 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.3742, allocations: 0 / 1.194 GB, free: 3.754 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.0006779/0.3749, allocations: 290.2 kB / 1.194 GB, free: 3.438 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.375, allocations: 19.92 kB / 1.194 GB, free: 3.418 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001121/0.3751, allocations: 8.891 kB / 1.194 GB, free: 3.41 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001118/0.3752, allocations: 106.5 kB / 1.195 GB, free: 3.281 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.3752, allocations: 4.375 kB / 1.195 GB, free: 3.277 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.918e-05/0.3752, allocations: 8.375 kB / 1.195 GB, free: 3.27 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002266/0.3754, allocations: 70.16 kB / 1.195 GB, free: 3.195 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.3755, allocations: 192 / 1.195 GB, free: 3.195 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.3755, allocations: 7.938 kB / 1.195 GB, free: 3.188 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.3755, allocations: 0 / 1.195 GB, free: 3.188 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001975/0.3757, allocations: 43.95 kB / 1.195 GB, free: 3.145 MB / 0.8263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004711/0.3762, allocations: 224.4 kB / 1.195 GB, free: 2.895 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001818/0.3763, allocations: 50.55 kB / 1.195 GB, free: 2.836 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/0.3764, allocations: 40.89 kB / 1.195 GB, free: 2.793 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 2.546e-05/0.3765, allocations: 0 / 1.195 GB, free: 2.793 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002502/0.3767, allocations: 79.31 kB / 1.195 GB, free: 2.703 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.3767, allocations: 0 / 1.195 GB, free: 2.703 MB / 0.8263 GB Notification: Performance of matching and sorting (n=7): time 0.0004487/0.3772, allocations: 121.6 kB / 1.195 GB, free: 2.578 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.373e-05/0.3772, allocations: 51.41 kB / 1.195 GB, free: 2.516 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.3773, allocations: 109.8 kB / 1.195 GB, free: 2.398 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 2.583e-05/0.3774, allocations: 29.7 kB / 1.195 GB, free: 2.363 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 5.505e-05/0.3774, allocations: 88.09 kB / 1.195 GB, free: 2.273 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 2.782e-05/0.3774, allocations: 19.91 kB / 1.195 GB, free: 2.254 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.635e-05/0.3775, allocations: 29.7 kB / 1.196 GB, free: 2.219 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.3776, allocations: 310.8 kB / 1.196 GB, free: 1.906 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001109/0.3777, allocations: 31.97 kB / 1.196 GB, free: 1.875 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001247/0.3779, allocations: 64.14 kB / 1.196 GB, free: 1.797 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002262/0.3781, allocations: 92.19 kB / 1.196 GB, free: 1.691 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.3781, allocations: 4 kB / 1.196 GB, free: 1.688 MB / 0.8263 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003011/0.3784, allocations: 121.4 kB / 1.196 GB, free: 1.562 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.3784, allocations: 8.125 kB / 1.196 GB, free: 1.555 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.3784, allocations: 0 / 1.196 GB, free: 1.555 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.3784, allocations: 4 kB / 1.196 GB, free: 1.551 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.3786, allocations: 15.98 kB / 1.196 GB, free: 1.535 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.3786, allocations: 0 / 1.196 GB, free: 1.535 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.051e-05/0.3787, allocations: 15.98 kB / 1.196 GB, free: 1.52 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/0.3787, allocations: 4 kB / 1.196 GB, free: 1.516 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 0.0001064/0.3788, allocations: 121.7 kB / 1.196 GB, free: 1.387 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.586e-05/0.3788, allocations: 7.984 kB / 1.196 GB, free: 1.379 MB / 0.8263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003076/0.3791, allocations: 110 kB / 1.196 GB, free: 1.262 MB / 0.8263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.3791, allocations: 0 / 1.196 GB, free: 1.262 MB / 0.8263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3791, allocations: 0 / 1.196 GB, free: 1.262 MB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.3791, allocations: 3.938 kB / 1.196 GB, free: 1.258 MB / 0.8263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004592/0.3796, allocations: 306.1 kB / 1.197 GB, free: 0.9219 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.3796, allocations: 0 / 1.197 GB, free: 0.9219 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.681e-05/0.3796, allocations: 11.98 kB / 1.197 GB, free: 0.9102 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.3796, allocations: 4 kB / 1.197 GB, free: 0.9062 MB / 0.8263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.3796, allocations: 4 kB / 1.197 GB, free: 0.9023 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.3797, allocations: 256 / 1.197 GB, free: 0.9023 MB / 0.8263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3797, allocations: 480 / 1.197 GB, free: 0.9023 MB / 0.8263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003182/0.38, allocations: 207.3 kB / 1.197 GB, free: 0.6836 MB / 0.8263 GB Notification: Performance of postOpt removeConstants (simulation): time 1.482e-05/0.38, allocations: 11.94 kB / 1.197 GB, free: 0.6719 MB / 0.8263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.971e-05/0.38, allocations: 0 / 1.197 GB, free: 0.6719 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.97e-05/0.3801, allocations: 7.984 kB / 1.197 GB, free: 0.6641 MB / 0.8263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.98e-05/0.3802, allocations: 11.98 kB / 1.197 GB, free: 0.6523 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.215e-05/0.3802, allocations: 4 kB / 1.197 GB, free: 0.6484 MB / 0.8263 GB Notification: Performance of sorting global known variables: time 5.748e-05/0.3802, allocations: 83.28 kB / 1.197 GB, free: 0.5664 MB / 0.8263 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3802, allocations: 0 / 1.197 GB, free: 0.5664 MB / 0.8263 GB Notification: Performance of remove unused functions: time 0.0002505/0.3805, allocations: 12 kB / 1.197 GB, free: 0.5547 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.0001544/0.3806, allocations: 103.2 kB / 1.197 GB, free: 456 kB / 0.8263 GB Notification: Performance of simCode: created initialization part: time 0.0002985/0.3809, allocations: 75.81 kB / 1.197 GB, free: 380 kB / 0.8263 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3809, allocations: 256 / 1.197 GB, free: 380 kB / 0.8263 GB Notification: Performance of simCode: created simulation system equations: time 0.0001191/0.381, allocations: 32.16 kB / 1.197 GB, free: 348 kB / 0.8263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002726/0.3813, allocations: 19.81 kB / 1.197 GB, free: 332 kB / 0.8263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003927/0.3817, allocations: 141.9 kB / 1.197 GB, free: 164 kB / 0.8263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.154e-05/0.3818, allocations: 63.34 kB / 1.197 GB, free: 80 kB / 0.8263 GB Notification: Performance of simCode: alias equations: time 3.855e-05/0.3818, allocations: 7.984 kB / 1.197 GB, free: 72 kB / 0.8263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.135e-05/0.3819, allocations: 11.44 kB / 1.197 GB, free: 60 kB / 0.8263 GB Notification: Performance of SimCode: time 1.603e-06/0.3819, allocations: 4 kB / 1.197 GB, free: 56 kB / 0.8263 GB Notification: Performance of Templates: time 0.003936/0.3858, allocations: 0.8781 MB / 1.198 GB, free: 15.19 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.560992904007435] Failed to read output from testmodel.py, exit status != 0: 0.39456792920827866 0.409797644 0.032417394 Calling exit ...