Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.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.001398/0.001398, 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.001482/0.001482, allocations: 209.8 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.499/1.499, allocations: 230.6 MB / 256 MB, free: 7.793 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.06257/0.06257, allocations: 12.18 MB / 324.6 MB, free: 7.098 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.0007887/0.0007887, allocations: 35.27 kB / 384.1 MB, free: 47.48 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.196/3.196, allocations: 353.9 MB / 0.7787 GB, free: 1.656 MB / 0.5138 GB " [Timeout remaining time 176] 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.Routing.Validation.IntegerScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") translateModel(AixLib.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") [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.003485/0.003485, allocations: 120.3 kB / 1.06 GB, free: 12.63 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.299/0.3025, allocations: 134.9 MB / 1.192 GB, free: 5.832 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001933/0.3044, allocations: 0.642 MB / 1.193 GB, free: 5.195 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 0.001092/0.3055, allocations: 0.8648 MB / 1.194 GB, free: 4.32 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.888e-05/0.3056, allocations: 3.938 kB / 1.194 GB, free: 4.316 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 9.295e-05/0.3056, allocations: 0 / 1.194 GB, free: 4.316 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 2.302e-05/0.3057, allocations: 3.938 kB / 1.194 GB, free: 4.312 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001831/0.3059, allocations: 23.92 kB / 1.194 GB, free: 4.289 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 9.389e-05/0.3059, allocations: 31.97 kB / 1.194 GB, free: 4.258 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.3061, allocations: 7.938 kB / 1.194 GB, free: 4.25 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 6.482e-05/0.3061, allocations: 23.84 kB / 1.194 GB, free: 4.227 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 6.904e-05/0.3062, allocations: 19.92 kB / 1.194 GB, free: 4.207 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 2.125e-05/0.3062, allocations: 4 kB / 1.194 GB, free: 4.203 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 1.432e-05/0.3062, allocations: 4 kB / 1.194 GB, free: 4.199 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 5.472e-05/0.3063, allocations: 4 kB / 1.194 GB, free: 4.195 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 3.918e-05/0.3063, allocations: 15.92 kB / 1.194 GB, free: 4.18 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.0001045/0.3064, allocations: 35.88 kB / 1.194 GB, free: 4.145 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 7.144e-06/0.3064, allocations: 4 kB / 1.194 GB, free: 4.141 MB / 0.8263 GB Notification: Performance of FrontEnd: time 2.384e-06/0.3064, allocations: 0 / 1.194 GB, free: 4.141 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.3064, allocations: 0 / 1.194 GB, free: 4.141 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005043/0.3069, allocations: 278.2 kB / 1.194 GB, free: 3.836 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.307, allocations: 15.98 kB / 1.194 GB, free: 3.82 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.063e-05/0.307, allocations: 4.938 kB / 1.194 GB, free: 3.816 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001548/0.3072, allocations: 110.5 kB / 1.194 GB, free: 3.684 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.37e-05/0.3072, allocations: 8.359 kB / 1.194 GB, free: 3.676 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.349e-05/0.3072, allocations: 4.375 kB / 1.194 GB, free: 3.672 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002096/0.3074, allocations: 66.17 kB / 1.194 GB, free: 3.602 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.3074, allocations: 192 / 1.194 GB, free: 3.602 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.3074, allocations: 3.938 kB / 1.194 GB, free: 3.598 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.3074, allocations: 0 / 1.194 GB, free: 3.598 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001962/0.3076, allocations: 47.95 kB / 1.194 GB, free: 3.551 MB / 0.8263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003687/0.308, allocations: 220.4 kB / 1.195 GB, free: 3.305 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001591/0.3082, allocations: 46.48 kB / 1.195 GB, free: 3.25 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.694e-05/0.3083, allocations: 24.91 kB / 1.195 GB, free: 3.223 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.3083, allocations: 0 / 1.195 GB, free: 3.223 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/0.3083, allocations: 30.56 kB / 1.195 GB, free: 3.184 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=2): time 7.62e-07/0.3083, allocations: 0 / 1.195 GB, free: 3.184 MB / 0.8263 GB Notification: Performance of matching and sorting (n=2): time 0.0004007/0.3087, allocations: 101.5 kB / 1.195 GB, free: 3.078 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.026e-05/0.3087, allocations: 51.41 kB / 1.195 GB, free: 3.016 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.859e-05/0.3088, allocations: 105.9 kB / 1.195 GB, free: 2.902 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.3089, allocations: 25.7 kB / 1.195 GB, free: 2.871 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 5.788e-05/0.3089, allocations: 92.08 kB / 1.195 GB, free: 2.777 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 1.181e-05/0.3089, allocations: 0 / 1.195 GB, free: 2.777 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.505e-05/0.309, allocations: 13.72 kB / 1.195 GB, free: 2.758 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.3091, allocations: 330.7 kB / 1.195 GB, free: 2.426 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.005e-05/0.3092, allocations: 16.11 kB / 1.195 GB, free: 2.41 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.538e-05/0.3093, allocations: 19.98 kB / 1.195 GB, free: 2.391 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001677/0.3094, allocations: 44.75 kB / 1.195 GB, free: 2.344 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3094, allocations: 0 / 1.195 GB, free: 2.344 MB / 0.8263 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002155/0.3097, allocations: 81.61 kB / 1.195 GB, free: 2.258 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.3097, allocations: 8 kB / 1.195 GB, free: 2.25 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.3097, allocations: 0 / 1.195 GB, free: 2.25 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.3097, allocations: 0 / 1.195 GB, free: 2.25 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.3098, allocations: 7.984 kB / 1.196 GB, free: 2.242 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.3098, allocations: 4 kB / 1.196 GB, free: 2.238 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.515e-05/0.3099, allocations: 3.984 kB / 1.196 GB, free: 2.234 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/0.3099, allocations: 4 kB / 1.196 GB, free: 2.23 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: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.0001359/0.31, allocations: 117.8 kB / 1.196 GB, free: 2.105 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.224e-05/0.31, allocations: 4.031 kB / 1.196 GB, free: 2.102 MB / 0.8263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.036e-05/0.31, allocations: 3.312 kB / 1.196 GB, free: 2.098 MB / 0.8263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.31, allocations: 0 / 1.196 GB, free: 2.098 MB / 0.8263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.3101, allocations: 0 / 1.196 GB, free: 2.098 MB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.3101, allocations: 7.984 kB / 1.196 GB, free: 2.09 MB / 0.8263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001332/0.3102, allocations: 109.2 kB / 1.196 GB, free: 1.953 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.3102, allocations: 0 / 1.196 GB, free: 1.953 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.37e-05/0.3103, allocations: 8 kB / 1.196 GB, free: 1.945 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.3103, allocations: 0 / 1.196 GB, free: 1.945 MB / 0.8263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.938e-06/0.3103, allocations: 3.984 kB / 1.196 GB, free: 1.941 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.3103, allocations: 0 / 1.196 GB, free: 1.941 MB / 0.8263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3103, allocations: 4 kB / 1.196 GB, free: 1.938 MB / 0.8263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002673/0.3105, allocations: 171.4 kB / 1.196 GB, free: 1.754 MB / 0.8263 GB Notification: Performance of postOpt removeConstants (simulation): time 9.628e-06/0.3106, allocations: 7.953 kB / 1.196 GB, free: 1.746 MB / 0.8263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/0.3106, allocations: 4 kB / 1.196 GB, free: 1.742 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.479e-05/0.3107, allocations: 7.984 kB / 1.196 GB, free: 1.734 MB / 0.8263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.039e-05/0.3107, allocations: 4.234 kB / 1.196 GB, free: 1.73 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.341e-06/0.3107, allocations: 3.984 kB / 1.196 GB, free: 1.727 MB / 0.8263 GB Notification: Performance of sorting global known variables: time 5.118e-05/0.3108, allocations: 87.28 kB / 1.196 GB, free: 1.641 MB / 0.8263 GB Notification: Performance of sort global known variables: time 9e-08/0.3108, allocations: 4.031 kB / 1.196 GB, free: 1.637 MB / 0.8263 GB Notification: Performance of remove unused functions: time 0.0002097/0.311, allocations: 8 kB / 1.196 GB, free: 1.629 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: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.000103/0.3111, allocations: 91.25 kB / 1.196 GB, free: 1.527 MB / 0.8263 GB Notification: Performance of simCode: created initialization part: time 0.000227/0.3113, allocations: 47.89 kB / 1.196 GB, free: 1.48 MB / 0.8263 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3113, allocations: 3.938 kB / 1.196 GB, free: 1.477 MB / 0.8263 GB Notification: Performance of simCode: created simulation system equations: time 9.951e-05/0.3114, allocations: 28.03 kB / 1.196 GB, free: 1.449 MB / 0.8263 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002487/0.3117, allocations: 7.938 kB / 1.196 GB, free: 1.441 MB / 0.8263 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003228/0.312, allocations: 128.1 kB / 1.196 GB, free: 1.293 MB / 0.8263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.811e-05/0.312, allocations: 63.34 kB / 1.196 GB, free: 1.211 MB / 0.8263 GB Notification: Performance of simCode: alias equations: time 4.117e-05/0.3121, allocations: 7.984 kB / 1.196 GB, free: 1.203 MB / 0.8263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.51e-05/0.3121, allocations: 7.438 kB / 1.196 GB, free: 1.195 MB / 0.8263 GB Notification: Performance of SimCode: time 3.2e-07/0.3121, allocations: 64 / 1.196 GB, free: 1.195 MB / 0.8263 GB Notification: Performance of Templates: time 0.003181/0.3153, allocations: 0.649 MB / 1.197 GB, free: 0.5586 MB / 0.8263 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & ./AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.103330232203007] Failed to read output from testmodel.py, exit status != 0: 0.323331318795681 0.33749414799999994 0.028071142 Calling exit ...