Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Max.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.00139/0.00139, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001529/0.001529, allocations: 206.4 kB / 22.24 MB, free: 5.262 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.516/1.516, allocations: 230.6 MB / 256 MB, free: 7.801 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.06254/0.06254, allocations: 12.19 MB / 324.6 MB, free: 7.078 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.0008242/0.0008242, allocations: 35.14 kB / 384.1 MB, free: 47.43 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.569/2.569, 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.Reals.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Max") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Max") [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.003616/0.003616, allocations: 120.1 kB / 1.06 GB, free: 12.52 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3445/0.3481, allocations: 134.9 MB / 1.192 GB, free: 5.727 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Max): time 0.002065/0.3502, allocations: 0.6803 MB / 1.193 GB, free: 5.051 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 0.001174/0.3513, allocations: 0.8397 MB / 1.194 GB, free: 4.199 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.698e-05/0.3514, allocations: 4 kB / 1.194 GB, free: 4.195 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 3.024e-05/0.3514, allocations: 3.938 kB / 1.194 GB, free: 4.191 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 7.649e-05/0.3515, allocations: 7.922 kB / 1.194 GB, free: 4.184 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001105/0.3516, allocations: 11.98 kB / 1.194 GB, free: 4.172 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.0001005/0.3517, allocations: 43.91 kB / 1.194 GB, free: 4.129 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.3518, allocations: 4 kB / 1.194 GB, free: 4.125 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 8.526e-05/0.3519, allocations: 27.86 kB / 1.194 GB, free: 4.098 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 6.208e-05/0.352, allocations: 15.92 kB / 1.194 GB, free: 4.082 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 2.245e-05/0.352, allocations: 7.938 kB / 1.194 GB, free: 4.074 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 1.61e-05/0.352, allocations: 8 kB / 1.194 GB, free: 4.066 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 2.203e-05/0.352, allocations: 7.984 kB / 1.194 GB, free: 4.059 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 3.892e-05/0.3521, allocations: 19.86 kB / 1.194 GB, free: 4.039 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.0001069/0.3522, allocations: 43.8 kB / 1.194 GB, free: 3.996 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.3522, allocations: 0 / 1.194 GB, free: 3.996 MB / 0.8263 GB Notification: Performance of FrontEnd: time 1.684e-06/0.3522, allocations: 0 / 1.194 GB, free: 3.996 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.3522, allocations: 0 / 1.194 GB, free: 3.996 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005731/0.3528, allocations: 286.3 kB / 1.194 GB, free: 3.684 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.3528, allocations: 11.98 kB / 1.194 GB, free: 3.672 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.472e-05/0.3528, allocations: 8.891 kB / 1.194 GB, free: 3.664 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.353, allocations: 110.5 kB / 1.194 GB, free: 3.531 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.353, allocations: 4.375 kB / 1.194 GB, free: 3.527 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.496e-05/0.353, allocations: 384 / 1.194 GB, free: 3.527 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002694/0.3533, allocations: 74.14 kB / 1.194 GB, free: 3.449 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.3533, allocations: 192 / 1.194 GB, free: 3.449 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.3533, allocations: 7.938 kB / 1.194 GB, free: 3.441 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.3533, allocations: 0 / 1.194 GB, free: 3.441 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003015/0.3536, allocations: 67.92 kB / 1.194 GB, free: 3.375 MB / 0.8263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000356/0.354, allocations: 204.6 kB / 1.195 GB, free: 3.145 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000211/0.3542, allocations: 58.47 kB / 1.195 GB, free: 3.078 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001546/0.3543, allocations: 40.86 kB / 1.195 GB, free: 3.035 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.3543, allocations: 0 / 1.195 GB, free: 3.035 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.3544, allocations: 34.56 kB / 1.195 GB, free: 2.992 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.3544, allocations: 4 kB / 1.195 GB, free: 2.988 MB / 0.8263 GB Notification: Performance of matching and sorting (n=3): time 0.0005525/0.3549, allocations: 125.6 kB / 1.195 GB, free: 2.859 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.925e-05/0.355, allocations: 51.41 kB / 1.195 GB, free: 2.797 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.3551, allocations: 113.8 kB / 1.195 GB, free: 2.676 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.3551, allocations: 29.7 kB / 1.195 GB, free: 2.641 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 5.27e-05/0.3551, allocations: 92.09 kB / 1.195 GB, free: 2.547 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 1.992e-05/0.3552, allocations: 11.83 kB / 1.195 GB, free: 2.535 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.894e-05/0.3552, allocations: 17.7 kB / 1.195 GB, free: 2.512 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.3553, allocations: 314.8 kB / 1.195 GB, free: 2.195 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000151/0.3555, allocations: 31.97 kB / 1.196 GB, free: 2.164 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001388/0.3556, allocations: 31.95 kB / 1.196 GB, free: 2.133 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002789/0.3559, allocations: 73.06 kB / 1.196 GB, free: 2.059 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.3559, allocations: 0 / 1.196 GB, free: 2.059 MB / 0.8263 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003286/0.3562, allocations: 101.5 kB / 1.196 GB, free: 1.953 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.3563, allocations: 4.938 kB / 1.196 GB, free: 1.949 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.3563, allocations: 0 / 1.196 GB, free: 1.949 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.3563, allocations: 8 kB / 1.196 GB, free: 1.941 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.3564, allocations: 15.92 kB / 1.196 GB, free: 1.926 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.3564, allocations: 3.938 kB / 1.196 GB, free: 1.922 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.582e-05/0.3565, allocations: 19.92 kB / 1.196 GB, free: 1.902 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.788e-06/0.3565, allocations: 4 kB / 1.196 GB, free: 1.898 MB / 0.8263 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 8.846e-05/0.3566, allocations: 113.8 kB / 1.196 GB, free: 1.777 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.671e-05/0.3566, allocations: 3.938 kB / 1.196 GB, free: 1.773 MB / 0.8263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003968/0.357, allocations: 109.6 kB / 1.196 GB, free: 1.652 MB / 0.8263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.357, allocations: 0 / 1.196 GB, free: 1.652 MB / 0.8263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.357, allocations: 0 / 1.196 GB, free: 1.652 MB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.357, allocations: 4 kB / 1.196 GB, free: 1.648 MB / 0.8263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001437/0.3572, allocations: 109.2 kB / 1.196 GB, free: 1.512 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3572, allocations: 0 / 1.196 GB, free: 1.512 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/0.3573, allocations: 23.91 kB / 1.196 GB, free: 1.488 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.3573, allocations: 3.938 kB / 1.196 GB, free: 1.484 MB / 0.8263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.3573, allocations: 4 kB / 1.196 GB, free: 1.48 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.3573, allocations: 0 / 1.196 GB, free: 1.48 MB / 0.8263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.3573, allocations: 4 kB / 1.196 GB, free: 1.477 MB / 0.8263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003873/0.3577, allocations: 193.3 kB / 1.196 GB, free: 1.273 MB / 0.8263 GB Notification: Performance of postOpt removeConstants (simulation): time 1.294e-05/0.3577, allocations: 7.938 kB / 1.196 GB, free: 1.266 MB / 0.8263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.3577, allocations: 0 / 1.196 GB, free: 1.266 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.3578, allocations: 15.97 kB / 1.196 GB, free: 1.25 MB / 0.8263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.741e-05/0.3579, allocations: 4 kB / 1.196 GB, free: 1.246 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.897e-06/0.3579, allocations: 4 kB / 1.196 GB, free: 1.242 MB / 0.8263 GB Notification: Performance of sorting global known variables: time 5.538e-05/0.3579, allocations: 87.27 kB / 1.196 GB, free: 1.156 MB / 0.8263 GB Notification: Performance of sort global known variables: time 7e-08/0.3579, allocations: 0 / 1.196 GB, free: 1.156 MB / 0.8263 GB Notification: Performance of remove unused functions: time 0.0002305/0.3582, allocations: 11.94 kB / 1.196 GB, free: 1.145 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0001323/0.3583, allocations: 91.25 kB / 1.197 GB, free: 1.047 MB / 0.8263 GB Notification: Performance of simCode: created initialization part: time 0.0003714/0.3587, allocations: 75.86 kB / 1.197 GB, free: 0.9727 MB / 0.8263 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3587, allocations: 0 / 1.197 GB, free: 0.9727 MB / 0.8263 GB Notification: Performance of simCode: created simulation system equations: time 0.0001576/0.3588, allocations: 35.95 kB / 1.197 GB, free: 0.9375 MB / 0.8263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003569/0.3592, allocations: 4 kB / 1.197 GB, free: 0.9336 MB / 0.8263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000415/0.3596, allocations: 133.4 kB / 1.197 GB, free: 0.7773 MB / 0.8263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.288e-05/0.3597, allocations: 67.34 kB / 1.197 GB, free: 0.6914 MB / 0.8263 GB Notification: Performance of simCode: alias equations: time 3.494e-05/0.3597, allocations: 0 / 1.197 GB, free: 0.6914 MB / 0.8263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.252e-05/0.3598, allocations: 11.44 kB / 1.197 GB, free: 0.6797 MB / 0.8263 GB Notification: Performance of SimCode: time 7.42e-07/0.3598, allocations: 0 / 1.197 GB, free: 0.6797 MB / 0.8263 GB Notification: Performance of Templates: time 0.003599/0.3634, allocations: 0.7522 MB / 1.198 GB, free: 15.94 MB / 0.8419 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Max.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Max.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Max -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.514266308397055] Failed to read output from testmodel.py, exit status != 0: 0.372320793569088 0.38749851900000004 0.032236464 Calling exit ...