Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.conf.json 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.04212/0.04212, allocations: 9.133 MB / 28.99 MB, free: 0.8203 MB / 18.57 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] 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.0008317/0.0008317, allocations: 98.58 kB / 35.33 MB, free: 1.074 MB / 24.77 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.001009/0.001009, allocations: 168.5 kB / 38.73 MB, free: 2.52 MB / 24.77 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 0.9469/0.9469, allocations: 177.1 MB / 219.2 MB, free: 10.12 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo): time 0.004001/0.004001, allocations: 0.8258 MB / 276.5 MB, free: 0.7383 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo): time 1.688/1.688, allocations: 274.9 MB / 0.5419 GB, free: 0.5977 MB / 0.4949 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo) Using package SDF with version 0.4.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/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) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo) Running command: translateModel(AixLib.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator") translateModel(AixLib.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.6379 GB, free: 14.08 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.106e-05/1.251e-05, allocations: 6.312 kB / 0.6379 GB, free: 14.07 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.001438/0.00145, allocations: 0.7019 MB / 0.6386 GB, free: 13.37 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.00383/0.00528, allocations: 0.8391 MB / 0.6394 GB, free: 12.52 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.108e-05/0.005321, allocations: 4 kB / 0.6394 GB, free: 12.52 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 7.849e-05/0.0054, allocations: 3.938 kB / 0.6394 GB, free: 12.51 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 7.804e-05/0.005478, allocations: 11.91 kB / 0.6394 GB, free: 12.5 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 4.849e-05/0.005526, allocations: 8 kB / 0.6394 GB, free: 12.49 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 9.804e-05/0.005624, allocations: 55.84 kB / 0.6395 GB, free: 12.44 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 9.385e-05/0.005718, allocations: 19.97 kB / 0.6395 GB, free: 12.42 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 7.088e-05/0.005789, allocations: 39.84 kB / 0.6395 GB, free: 12.38 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 7.028e-05/0.005859, allocations: 31.91 kB / 0.6396 GB, free: 12.35 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.657e-05/0.005876, allocations: 4 kB / 0.6396 GB, free: 12.34 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 8.205e-06/0.005884, allocations: 4 kB / 0.6396 GB, free: 12.34 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 4.146e-05/0.005925, allocations: 23.91 kB / 0.6396 GB, free: 12.32 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 2.787e-05/0.005953, allocations: 15.98 kB / 0.6396 GB, free: 12.3 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 8.212e-05/0.006035, allocations: 51.83 kB / 0.6397 GB, free: 12.25 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.006038, allocations: 3.984 kB / 0.6397 GB, free: 12.25 MB / 0.6043 GB Notification: Performance of FrontEnd: time 6.01e-07/0.006038, allocations: 0 / 0.6397 GB, free: 12.25 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.446e-06/0.006042, allocations: 0 / 0.6397 GB, free: 12.25 MB / 0.6043 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0002884/0.00633, allocations: 272.8 kB / 0.6399 GB, free: 11.95 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 2.96e-05/0.00636, allocations: 11.98 kB / 0.6399 GB, free: 11.94 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.797e-05/0.006388, allocations: 8.922 kB / 0.6399 GB, free: 11.93 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001095/0.006497, allocations: 121.7 kB / 0.6401 GB, free: 11.79 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.355e-06/0.006506, allocations: 4.375 kB / 0.6401 GB, free: 11.79 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.508e-06/0.006515, allocations: 8.312 kB / 0.6401 GB, free: 11.78 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.006661, allocations: 92.61 kB / 0.6402 GB, free: 11.67 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.006669, allocations: 192 / 0.6402 GB, free: 11.67 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.745e-06/0.006676, allocations: 384 / 0.6402 GB, free: 11.67 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.006683, allocations: 4.375 kB / 0.6402 GB, free: 11.67 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.267e-05/0.006715, allocations: 15.88 kB / 0.6402 GB, free: 11.65 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002755/0.006991, allocations: 283.1 kB / 0.6404 GB, free: 11.36 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 4.573e-05/0.007037, allocations: 33.16 kB / 0.6405 GB, free: 11.3 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.118e-05/0.007058, allocations: 13.84 kB / 0.6405 GB, free: 11.29 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 8.065e-06/0.007066, allocations: 3.938 kB / 0.6405 GB, free: 11.28 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.007089, allocations: 46.55 kB / 0.6405 GB, free: 11.23 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=2): time 7.32e-07/0.00709, allocations: 0 / 0.6405 GB, free: 11.23 MB / 0.6043 GB Notification: Performance of matching and sorting (n=2): time 0.0001244/0.007215, allocations: 45.64 kB / 0.6406 GB, free: 11.18 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.415e-05/0.007249, allocations: 77.11 kB / 0.6407 GB, free: 11.08 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.216e-05/0.007321, allocations: 122.6 kB / 0.6408 GB, free: 10.95 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.007338, allocations: 25.7 kB / 0.6408 GB, free: 10.92 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 4.309e-05/0.007381, allocations: 92.08 kB / 0.6409 GB, free: 10.82 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 2.337e-05/0.007404, allocations: 11.89 kB / 0.6409 GB, free: 10.81 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.771e-05/0.007432, allocations: 17.7 kB / 0.6409 GB, free: 10.79 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 8.501e-05/0.007517, allocations: 314.8 kB / 0.6412 GB, free: 10.47 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.592e-05/0.007533, allocations: 4 kB / 0.6412 GB, free: 10.47 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.025e-05/0.007553, allocations: 13.97 kB / 0.6412 GB, free: 10.45 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.592e-05/0.007589, allocations: 28.53 kB / 0.6413 GB, free: 10.41 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.007591, allocations: 0 / 0.6413 GB, free: 10.41 MB / 0.6043 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.122e-05/0.007652, allocations: 37.64 kB / 0.6413 GB, free: 10.37 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.007663, allocations: 4 kB / 0.6413 GB, free: 10.37 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.00767, allocations: 15.91 kB / 0.6413 GB, free: 10.35 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.007682, allocations: 0 / 0.6413 GB, free: 10.35 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.091e-05/0.007753, allocations: 8 kB / 0.6413 GB, free: 10.34 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.264e-06/0.007755, allocations: 64 / 0.6413 GB, free: 10.34 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.228e-05/0.007787, allocations: 15.98 kB / 0.6413 GB, free: 10.33 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.179e-06/0.007793, allocations: 0 / 0.6413 GB, free: 10.33 MB / 0.6043 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (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 5.9e-05/0.007852, allocations: 116.7 kB / 0.6414 GB, free: 10.2 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.226e-05/0.007884, allocations: 3.938 kB / 0.6414 GB, free: 10.2 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.722e-05/0.007901, allocations: 11.41 kB / 0.6415 GB, free: 10.19 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.007903, allocations: 0 / 0.6415 GB, free: 10.19 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-06/0.007905, allocations: 3.984 kB / 0.6415 GB, free: 10.19 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.007907, allocations: 0 / 0.6415 GB, free: 10.19 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001448/0.008052, allocations: 69.89 kB / 0.6415 GB, free: 10.1 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.008054, allocations: 3.984 kB / 0.6415 GB, free: 10.1 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.295e-05/0.008087, allocations: 16 kB / 0.6415 GB, free: 10.08 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.008088, allocations: 0 / 0.6415 GB, free: 10.08 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/0.008095, allocations: 7.938 kB / 0.6416 GB, free: 10.07 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.008096, allocations: 0 / 0.6416 GB, free: 10.07 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.008097, allocations: 0 / 0.6416 GB, free: 10.07 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001065/0.008203, allocations: 210.8 kB / 0.6418 GB, free: 9.852 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 5.441e-06/0.008209, allocations: 0 / 0.6418 GB, free: 9.852 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.179e-05/0.008221, allocations: 7.922 kB / 0.6418 GB, free: 9.844 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.357e-05/0.008304, allocations: 4 kB / 0.6418 GB, free: 9.84 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.062e-05/0.008335, allocations: 16.02 kB / 0.6418 GB, free: 9.824 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.826e-06/0.008338, allocations: 0 / 0.6418 GB, free: 9.824 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.779e-05/0.008355, allocations: 16.84 kB / 0.6418 GB, free: 9.805 MB / 0.6043 GB Notification: Performance of sort global known variables: time 6e-08/0.008356, allocations: 0 / 0.6418 GB, free: 9.805 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0002163/0.008572, allocations: 11.95 kB / 0.6418 GB, free: 9.793 MB / 0.6043 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (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 6.991e-05/0.008642, allocations: 80.41 kB / 0.6419 GB, free: 9.703 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 5.984e-05/0.008702, allocations: 12.8 kB / 0.6419 GB, free: 9.688 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.008704, allocations: 4 kB / 0.6419 GB, free: 9.684 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 2.09e-05/0.008725, allocations: 12.98 kB / 0.6419 GB, free: 9.668 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002375/0.008962, allocations: 8 kB / 0.6419 GB, free: 9.66 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002657/0.009228, allocations: 171.8 kB / 0.6421 GB, free: 9.461 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.358e-05/0.009271, allocations: 59.34 kB / 0.6421 GB, free: 9.383 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 2.375e-05/0.009295, allocations: 7.859 kB / 0.6421 GB, free: 9.375 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.02e-05/0.009355, allocations: 63.48 kB / 0.6422 GB, free: 9.312 MB / 0.6043 GB Notification: Performance of SimCode: time 4.1e-07/0.009356, allocations: 0 / 0.6422 GB, free: 9.312 MB / 0.6043 GB Notification: Performance of Templates: time 0.00228/0.01164, allocations: 0.7772 MB / 0.643 GB, free: 8.539 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.sim & ./AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.31260157097131]