Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Integers.Sources.Validation.Constant.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.001329/0.001329, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001605/0.001605, allocations: 215.9 kB / 22.25 MB, free: 5.078 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.496/1.496, allocations: 230.6 MB / 256 MB, free: 8.023 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.06545/0.06545, allocations: 12.19 MB / 324.6 MB, free: 7.285 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.001082/0.001082, allocations: 27.55 kB / 384.1 MB, free: 46.67 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.51/2.51, allocations: 353.8 MB / 0.7787 GB, free: 1.082 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.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Integers.Sources.Validation.Constant") translateModel(AixLib.Controls.OBC.CDL.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Integers.Sources.Validation.Constant") [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.004655/0.004655, allocations: 115.3 kB / 1.061 GB, free: 13.05 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2932/0.2978, allocations: 134.9 MB / 1.192 GB, free: 6.223 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001647/0.2995, allocations: 0.5349 MB / 1.193 GB, free: 5.691 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 3.48e-05/0.2995, allocations: 0 / 1.193 GB, free: 5.691 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.793e-05/0.2995, allocations: 3.938 kB / 1.193 GB, free: 5.688 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 2.475e-05/0.2996, allocations: 4 kB / 1.193 GB, free: 5.684 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 2.462e-05/0.2996, allocations: 0 / 1.193 GB, free: 5.684 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 2.702e-05/0.2996, allocations: 0 / 1.193 GB, free: 5.684 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 5.695e-05/0.2997, allocations: 3.984 kB / 1.193 GB, free: 5.68 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 5.216e-05/0.2997, allocations: 0 / 1.193 GB, free: 5.68 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 2.722e-05/0.2998, allocations: 11.94 kB / 1.193 GB, free: 5.668 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 2.019e-05/0.2998, allocations: 4 kB / 1.193 GB, free: 5.664 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 1.188e-05/0.2998, allocations: 0 / 1.193 GB, free: 5.664 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 7.204e-06/0.2998, allocations: 0 / 1.193 GB, free: 5.664 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 1.262e-05/0.2998, allocations: 0 / 1.193 GB, free: 5.664 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 1.735e-05/0.2998, allocations: 0 / 1.193 GB, free: 5.664 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 5.304e-05/0.2999, allocations: 0 / 1.193 GB, free: 5.664 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.2999, allocations: 0 / 1.193 GB, free: 5.664 MB / 0.8263 GB Notification: Performance of FrontEnd: time 1.353e-06/0.2999, allocations: 4 kB / 1.193 GB, free: 5.66 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.2999, allocations: 0 / 1.193 GB, free: 5.66 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000283/0.3002, allocations: 246.4 kB / 1.193 GB, free: 5.387 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.3002, allocations: 11.98 kB / 1.193 GB, free: 5.375 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.84e-05/0.3002, allocations: 0.9375 kB / 1.193 GB, free: 5.375 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001021/0.3003, allocations: 110.4 kB / 1.193 GB, free: 5.242 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.3004, allocations: 8.312 kB / 1.193 GB, free: 5.234 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.114e-06/0.3004, allocations: 384 / 1.193 GB, free: 5.234 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.184e-05/0.3005, allocations: 26.27 kB / 1.193 GB, free: 5.203 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.3005, allocations: 192 / 1.193 GB, free: 5.203 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.3005, allocations: 3.938 kB / 1.193 GB, free: 5.199 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.3005, allocations: 4 kB / 1.193 GB, free: 5.195 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.639e-05/0.3005, allocations: 11.98 kB / 1.193 GB, free: 5.184 MB / 0.8263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000321/0.3008, allocations: 346.6 kB / 1.194 GB, free: 4.801 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001026/0.3009, allocations: 177 kB / 1.194 GB, free: 4.617 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.116e-05/0.301, allocations: 84.58 kB / 1.194 GB, free: 4.531 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 3.755e-05/0.301, allocations: 79.28 kB / 1.194 GB, free: 4.453 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.939e-05/0.3011, allocations: 109.8 kB / 1.194 GB, free: 4.336 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=0): time 7.62e-07/0.3011, allocations: 0 / 1.194 GB, free: 4.336 MB / 0.8263 GB Notification: Performance of matching and sorting (n=0): time 7.135e-05/0.3011, allocations: 33.7 kB / 1.194 GB, free: 4.297 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.708e-05/0.3012, allocations: 130.6 kB / 1.194 GB, free: 4.156 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.303e-05/0.3013, allocations: 93.86 kB / 1.194 GB, free: 4.055 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.3013, allocations: 29.83 kB / 1.194 GB, free: 4.02 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 3.888e-05/0.3013, allocations: 88.12 kB / 1.194 GB, free: 3.93 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 1.724e-06/0.3013, allocations: 0 / 1.194 GB, free: 3.93 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.048e-05/0.3014, allocations: 9.719 kB / 1.194 GB, free: 3.914 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.3015, allocations: 318.8 kB / 1.195 GB, free: 3.594 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.817e-06/0.3015, allocations: 0 / 1.195 GB, free: 3.594 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.835e-06/0.3015, allocations: 0 / 1.195 GB, free: 3.594 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.433e-05/0.3015, allocations: 75.28 kB / 1.195 GB, free: 3.52 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.174e-05/0.3016, allocations: 79.28 kB / 1.195 GB, free: 3.441 MB / 0.8263 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.581e-05/0.3016, allocations: 33.64 kB / 1.195 GB, free: 3.402 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 3.945e-05/0.3017, allocations: 79.28 kB / 1.195 GB, free: 3.324 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.69e-05/0.3017, allocations: 79.22 kB / 1.195 GB, free: 3.246 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.092e-05/0.3018, allocations: 154.6 kB / 1.195 GB, free: 3.094 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.76e-05/0.3018, allocations: 85 kB / 1.195 GB, free: 3.012 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-05/0.3019, allocations: 154.5 kB / 1.195 GB, free: 2.859 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.812e-05/0.3019, allocations: 79.28 kB / 1.195 GB, free: 2.781 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.044e-05/0.302, allocations: 79.22 kB / 1.196 GB, free: 2.703 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 (0): * Single equations (assignments): 0 * 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.000129/0.3021, allocations: 264.3 kB / 1.196 GB, free: 2.434 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.395e-05/0.3022, allocations: 101 kB / 1.196 GB, free: 2.328 MB / 0.8263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.398e-05/0.3022, allocations: 116 kB / 1.196 GB, free: 2.207 MB / 0.8263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.691e-05/0.3023, allocations: 184.2 kB / 1.196 GB, free: 2.02 MB / 0.8263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.405e-05/0.3024, allocations: 180.3 kB / 1.196 GB, free: 1.836 MB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.921e-05/0.3024, allocations: 180.2 kB / 1.196 GB, free: 1.652 MB / 0.8263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002392/0.3027, allocations: 380.2 kB / 1.197 GB, free: 1.23 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.58e-05/0.3027, allocations: 104.9 kB / 1.197 GB, free: 1.121 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.357e-05/0.3028, allocations: 108.9 kB / 1.197 GB, free: 1.008 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.379e-05/0.3028, allocations: 184.2 kB / 1.197 GB, free: 0.8203 MB / 0.8263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.631e-05/0.3029, allocations: 180.3 kB / 1.197 GB, free: 0.6367 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.036e-05/0.303, allocations: 176.6 kB / 1.198 GB, free: 468 kB / 0.8263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.762e-05/0.3031, allocations: 188.2 kB / 1.198 GB, free: 272 kB / 0.8263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001724/0.3032, allocations: 315.7 kB / 1.198 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.367e-05/0.3033, allocations: 101 kB / 1.198 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.684e-05/0.3034, allocations: 188.2 kB / 1.198 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.269e-05/0.3035, allocations: 104.9 kB / 1.198 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.301e-05/0.3036, allocations: 180.3 kB / 1.199 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.394e-05/0.3036, allocations: 104.9 kB / 1.199 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.764e-05/0.3037, allocations: 83.28 kB / 1.199 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3037, allocations: 0 / 1.199 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002429/0.3039, allocations: 0 / 1.199 GB, free: 15.15 MB / 0.8419 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 (0): * Single equations (assignments): 0 * 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.0001398/0.304, allocations: 174.5 kB / 1.199 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 4.344e-05/0.3041, allocations: 4 kB / 1.199 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.3041, allocations: 0 / 1.199 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.3041, allocations: 0 / 1.199 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003817/0.3045, allocations: 459.7 kB / 1.199 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002215/0.3047, allocations: 164.1 kB / 1.2 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002958/0.305, allocations: 0.6729 MB / 1.2 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 7.233e-06/0.305, allocations: 0 / 1.2 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.058e-05/0.305, allocations: 7.438 kB / 1.2 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of SimCode: time 3.1e-07/0.305, allocations: 4 kB / 1.2 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of Templates: time 0.002137/0.3071, allocations: 166.1 kB / 1.2 GB, free: 13.45 MB / 0.8419 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Integers.Sources.Validation.Constant.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & ./AixLib_AixLib.Controls.OBC.CDL.Integers.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.034621596336365] Failed to read output from testmodel.py, exit status != 0: 0.31527215242385864 0.329661657 0.02681226 Calling exit ...