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.04424/0.04424, allocations: 9.131 MB / 28.99 MB, free: 0.8047 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.0009225/0.0009225, allocations: 95.14 kB / 35.33 MB, free: 1.07 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.001092/0.001092, allocations: 164.2 kB / 38.73 MB, free: 2.488 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.9732/0.9732, allocations: 177.1 MB / 219.2 MB, free: 10.11 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.004237/0.004237, allocations: 0.8255 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.701/1.701, allocations: 274.9 MB / 0.5419 GB, free: 0.6211 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 2.475e-06/2.475e-06, allocations: 0 / 0.6378 GB, free: 14.14 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.148e-05/2.396e-05, allocations: 6.25 kB / 0.6378 GB, free: 14.13 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.001312/0.001336, allocations: 0.647 MB / 0.6385 GB, free: 13.48 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0009131/0.002249, allocations: 0.8392 MB / 0.6393 GB, free: 12.63 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.908e-05/0.002298, allocations: 0 / 0.6393 GB, free: 12.63 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 9.138e-05/0.00239, allocations: 7.938 kB / 0.6393 GB, free: 12.62 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.0002005/0.00259, allocations: 19.84 kB / 0.6393 GB, free: 12.6 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 4.596e-05/0.002636, allocations: 4 kB / 0.6393 GB, free: 12.6 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 8.293e-05/0.002719, allocations: 55.84 kB / 0.6394 GB, free: 12.54 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 8.966e-05/0.002809, allocations: 15.97 kB / 0.6394 GB, free: 12.53 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 6.012e-05/0.002869, allocations: 35.92 kB / 0.6394 GB, free: 12.49 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 6.703e-05/0.002936, allocations: 27.97 kB / 0.6395 GB, free: 12.46 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.713e-05/0.002953, allocations: 4 kB / 0.6395 GB, free: 12.46 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 6.542e-06/0.002959, allocations: 0 / 0.6395 GB, free: 12.46 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 3.8e-05/0.002997, allocations: 35.83 kB / 0.6395 GB, free: 12.43 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 2.834e-05/0.003026, allocations: 15.94 kB / 0.6395 GB, free: 12.41 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 8.241e-05/0.003108, allocations: 55.81 kB / 0.6396 GB, free: 12.36 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.00311, allocations: 0 / 0.6396 GB, free: 12.36 MB / 0.6043 GB Notification: Performance of FrontEnd: time 5.01e-07/0.00311, allocations: 0 / 0.6396 GB, free: 12.36 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 2.905e-06/0.003113, allocations: 0 / 0.6396 GB, free: 12.36 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.0002621/0.003375, allocations: 272.7 kB / 0.6398 GB, free: 12.06 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 2.667e-05/0.003402, allocations: 15.98 kB / 0.6398 GB, free: 12.05 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.247e-05/0.003425, allocations: 8.922 kB / 0.6398 GB, free: 12.04 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.4e-05/0.003519, allocations: 113.8 kB / 0.64 GB, free: 11.9 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.544e-06/0.003526, allocations: 4.375 kB / 0.64 GB, free: 11.9 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.447e-06/0.003536, allocations: 4.312 kB / 0.64 GB, free: 11.89 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001149/0.00365, allocations: 92.61 kB / 0.6401 GB, free: 11.79 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.711e-06/0.003656, allocations: 192 / 0.6401 GB, free: 11.79 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.936e-06/0.003665, allocations: 8.375 kB / 0.6401 GB, free: 11.78 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.003669, allocations: 384 / 0.6401 GB, free: 11.78 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.084e-05/0.0037, allocations: 19.88 kB / 0.6401 GB, free: 11.76 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004718/0.004172, allocations: 283.1 kB / 0.6404 GB, free: 11.46 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 4.249e-05/0.004214, allocations: 37.16 kB / 0.6404 GB, free: 11.41 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.991e-05/0.004234, allocations: 13.78 kB / 0.6404 GB, free: 11.39 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 7.153e-06/0.004241, allocations: 8 kB / 0.6404 GB, free: 11.38 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.857e-05/0.00426, allocations: 38.5 kB / 0.6404 GB, free: 11.34 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.004261, allocations: 0 / 0.6404 GB, free: 11.34 MB / 0.6043 GB Notification: Performance of matching and sorting (n=2): time 0.0001105/0.004371, allocations: 45.91 kB / 0.6405 GB, free: 11.29 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.228e-05/0.004404, allocations: 81.05 kB / 0.6406 GB, free: 11.19 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.241e-05/0.004456, allocations: 118.6 kB / 0.6407 GB, free: 11.06 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 8.526e-06/0.004464, allocations: 25.7 kB / 0.6407 GB, free: 11.03 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 3.124e-05/0.004496, allocations: 100.1 kB / 0.6408 GB, free: 10.93 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.496e-05/0.004511, allocations: 11.83 kB / 0.6408 GB, free: 10.91 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.325e-05/0.004534, allocations: 13.72 kB / 0.6408 GB, free: 10.89 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 6.787e-05/0.004602, allocations: 314.8 kB / 0.6411 GB, free: 10.58 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.837e-06/0.004611, allocations: 0 / 0.6411 GB, free: 10.58 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.668e-05/0.004627, allocations: 17.7 kB / 0.6411 GB, free: 10.55 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.216e-05/0.004659, allocations: 28.58 kB / 0.6412 GB, free: 10.52 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.004661, allocations: 0 / 0.6412 GB, free: 10.52 MB / 0.6043 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.504e-05/0.004706, allocations: 45.62 kB / 0.6412 GB, free: 10.47 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 9.919e-06/0.004716, allocations: 4 kB / 0.6412 GB, free: 10.46 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.004719, allocations: 0 / 0.6412 GB, free: 10.46 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.798e-06/0.004729, allocations: 0 / 0.6412 GB, free: 10.46 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.492e-05/0.004784, allocations: 15.92 kB / 0.6412 GB, free: 10.45 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.736e-06/0.004787, allocations: 0 / 0.6412 GB, free: 10.45 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.366e-05/0.00481, allocations: 12.05 kB / 0.6412 GB, free: 10.44 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.94e-06/0.004815, allocations: 4 kB / 0.6412 GB, free: 10.43 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.292e-05/0.004868, allocations: 108.7 kB / 0.6413 GB, free: 10.32 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.528e-05/0.004893, allocations: 7.938 kB / 0.6414 GB, free: 10.31 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.699e-05/0.00491, allocations: 7.469 kB / 0.6414 GB, free: 10.3 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.004911, allocations: 0 / 0.6414 GB, free: 10.3 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.983e-06/0.004913, allocations: 4 kB / 0.6414 GB, free: 10.3 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.004915, allocations: 0 / 0.6414 GB, free: 10.3 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001363/0.005052, allocations: 77.88 kB / 0.6414 GB, free: 10.21 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.005053, allocations: 0 / 0.6414 GB, free: 10.21 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.758e-05/0.005091, allocations: 15.98 kB / 0.6415 GB, free: 10.19 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.005092, allocations: 0 / 0.6415 GB, free: 10.19 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.005099, allocations: 3.938 kB / 0.6415 GB, free: 10.19 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.005101, allocations: 3.984 kB / 0.6415 GB, free: 10.18 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.005102, allocations: 0 / 0.6415 GB, free: 10.18 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001139/0.005215, allocations: 210.8 kB / 0.6417 GB, free: 9.961 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 7.314e-06/0.005223, allocations: 4 kB / 0.6417 GB, free: 9.957 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.037e-05/0.005233, allocations: 3.938 kB / 0.6417 GB, free: 9.953 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.187e-05/0.005295, allocations: 7.984 kB / 0.6417 GB, free: 9.945 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.648e-05/0.005321, allocations: 4 kB / 0.6417 GB, free: 9.941 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.005324, allocations: 8.031 kB / 0.6417 GB, free: 9.934 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.365e-05/0.005338, allocations: 12.84 kB / 0.6417 GB, free: 9.918 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.005338, allocations: 4 kB / 0.6417 GB, free: 9.914 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001373/0.005475, allocations: 15.89 kB / 0.6417 GB, free: 9.898 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 7.5e-05/0.00555, allocations: 72.42 kB / 0.6418 GB, free: 9.816 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0001859/0.005736, allocations: 28.77 kB / 0.6418 GB, free: 9.785 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.005738, allocations: 0 / 0.6418 GB, free: 9.785 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 1.693e-05/0.005755, allocations: 9.047 kB / 0.6418 GB, free: 9.773 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001745/0.00593, allocations: 12.06 kB / 0.6418 GB, free: 9.762 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002436/0.006173, allocations: 167.9 kB / 0.642 GB, free: 9.566 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.618e-05/0.006209, allocations: 63.34 kB / 0.6421 GB, free: 9.484 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 1.739e-05/0.006227, allocations: 3.859 kB / 0.6421 GB, free: 9.48 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.702e-05/0.006274, allocations: 55.38 kB / 0.6421 GB, free: 9.426 MB / 0.6043 GB Notification: Performance of SimCode: time 4.01e-07/0.006274, allocations: 4 kB / 0.6421 GB, free: 9.422 MB / 0.6043 GB Notification: Performance of Templates: time 0.002067/0.008341, allocations: 0.7774 MB / 0.6429 GB, free: 8.648 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 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.56698037032038]