Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.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.04237/0.04237, allocations: 9.133 MB / 28.99 MB, free: 6.113 MB / 24.77 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.0008397/0.0008397, allocations: 94.64 kB / 35.33 MB, free: 0.7773 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.0009862/0.0009862, allocations: 165.6 kB / 38.73 MB, free: 2.129 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.9758/0.9758, allocations: 177.2 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.004207/0.004207, allocations: 0.8225 MB / 276.5 MB, free: 0.75 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.68/1.68, allocations: 274.9 MB / 0.5419 GB, free: 0.6445 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.RealScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") translateModel(AixLib.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 0.6379 GB, free: 14.11 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.498e-05/2.72e-05, allocations: 6.25 kB / 0.6379 GB, free: 14.1 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.002037/0.002064, allocations: 0.694 MB / 0.6386 GB, free: 13.41 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001161/0.003226, allocations: 0.8391 MB / 0.6394 GB, free: 12.55 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.509e-05/0.003281, allocations: 0 / 0.6394 GB, free: 12.55 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0001086/0.00339, allocations: 11.92 kB / 0.6394 GB, free: 12.54 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 3.162e-05/0.003421, allocations: 4 kB / 0.6394 GB, free: 12.54 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001022/0.003523, allocations: 7.938 kB / 0.6394 GB, free: 12.53 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 7.192e-05/0.003595, allocations: 27.92 kB / 0.6394 GB, free: 12.5 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 7.411e-05/0.003669, allocations: 3.984 kB / 0.6394 GB, free: 12.5 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 7.126e-05/0.003741, allocations: 15.94 kB / 0.6395 GB, free: 12.48 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 5.022e-05/0.003791, allocations: 11.97 kB / 0.6395 GB, free: 12.47 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.697e-05/0.003808, allocations: 4 kB / 0.6395 GB, free: 12.47 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 6.452e-06/0.003814, allocations: 0 / 0.6395 GB, free: 12.47 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 4.55e-05/0.00386, allocations: 11.98 kB / 0.6395 GB, free: 12.46 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 2.195e-05/0.003882, allocations: 4 kB / 0.6395 GB, free: 12.45 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 7.622e-05/0.003958, allocations: 23.92 kB / 0.6395 GB, free: 12.43 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.003961, allocations: 0 / 0.6395 GB, free: 12.43 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.002e-06/0.003962, allocations: 0 / 0.6395 GB, free: 12.43 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.003966, allocations: 0 / 0.6395 GB, free: 12.43 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003065/0.004273, allocations: 244.8 kB / 0.6397 GB, free: 12.16 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.004312, allocations: 11.98 kB / 0.6398 GB, free: 12.15 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.661e-05/0.004339, allocations: 8.938 kB / 0.6398 GB, free: 12.14 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.004472, allocations: 113.7 kB / 0.6399 GB, free: 12.01 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.004482, allocations: 384 / 0.6399 GB, free: 12.01 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.277e-06/0.004492, allocations: 4.375 kB / 0.6399 GB, free: 12 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.004644, allocations: 58.95 kB / 0.6399 GB, free: 11.94 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.004654, allocations: 192 / 0.6399 GB, free: 11.94 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.717e-06/0.004663, allocations: 384 / 0.6399 GB, free: 11.94 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.004671, allocations: 384 / 0.6399 GB, free: 11.94 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.495e-05/0.004696, allocations: 7.938 kB / 0.6399 GB, free: 11.93 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002932/0.004989, allocations: 167 kB / 0.6401 GB, free: 11.75 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 5.574e-05/0.005045, allocations: 18.58 kB / 0.6401 GB, free: 11.72 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.83e-05/0.005063, allocations: 8.797 kB / 0.6401 GB, free: 11.71 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 8.586e-06/0.005072, allocations: 0 / 0.6401 GB, free: 11.71 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.005102, allocations: 30.56 kB / 0.6402 GB, free: 11.67 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=1): time 2.164e-06/0.005104, allocations: 11.92 kB / 0.6402 GB, free: 11.66 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1): time 0.0001541/0.005258, allocations: 45.75 kB / 0.6402 GB, free: 11.61 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.945e-05/0.005307, allocations: 51.41 kB / 0.6403 GB, free: 11.55 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.54e-05/0.005383, allocations: 102.7 kB / 0.6404 GB, free: 11.43 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.005394, allocations: 25.7 kB / 0.6404 GB, free: 11.4 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 3.879e-05/0.005433, allocations: 92.08 kB / 0.6405 GB, free: 11.31 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.46e-05/0.005448, allocations: 0 / 0.6405 GB, free: 11.31 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.715e-05/0.005475, allocations: 13.72 kB / 0.6405 GB, free: 11.29 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 9.974e-05/0.005575, allocations: 314.8 kB / 0.6408 GB, free: 10.97 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.458e-06/0.005584, allocations: 0 / 0.6408 GB, free: 10.97 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.298e-06/0.005593, allocations: 8.125 kB / 0.6408 GB, free: 10.96 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.518e-05/0.005619, allocations: 11.62 kB / 0.6408 GB, free: 10.95 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.00562, allocations: 0 / 0.6408 GB, free: 10.95 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.82e-05/0.005679, allocations: 37.94 kB / 0.6408 GB, free: 10.91 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.005692, allocations: 4 kB / 0.6408 GB, free: 10.9 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.005699, allocations: 3.938 kB / 0.6408 GB, free: 10.9 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.005713, allocations: 4 kB / 0.6408 GB, free: 10.89 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.445e-05/0.005778, allocations: 8 kB / 0.6409 GB, free: 10.89 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.005782, allocations: 3.984 kB / 0.6409 GB, free: 10.88 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.169e-05/0.005804, allocations: 12.08 kB / 0.6409 GB, free: 10.87 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-06/0.005808, allocations: 0 / 0.6409 GB, free: 10.87 MB / 0.6043 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 (1): * Single equations (assignments): 1 * 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 6.35e-05/0.005872, allocations: 116.6 kB / 0.641 GB, free: 10.75 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.086e-05/0.005893, allocations: 4 kB / 0.641 GB, free: 10.74 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.053e-05/0.005913, allocations: 7.094 kB / 0.641 GB, free: 10.74 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.005916, allocations: 0 / 0.641 GB, free: 10.74 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.005917, allocations: 0 / 0.641 GB, free: 10.74 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.005919, allocations: 3.938 kB / 0.641 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001081/0.006027, allocations: 69.84 kB / 0.6411 GB, free: 10.65 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.006029, allocations: 0 / 0.6411 GB, free: 10.65 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.95e-05/0.006059, allocations: 8 kB / 0.6411 GB, free: 10.64 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.006061, allocations: 0 / 0.6411 GB, free: 10.64 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.408e-06/0.006065, allocations: 0 / 0.6411 GB, free: 10.64 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.006068, allocations: 4 kB / 0.6411 GB, free: 10.64 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.006071, allocations: 7.875 kB / 0.6411 GB, free: 10.63 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001088/0.00618, allocations: 123.5 kB / 0.6412 GB, free: 10.49 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 7.454e-06/0.006188, allocations: 4 kB / 0.6412 GB, free: 10.49 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.298e-06/0.006197, allocations: 4 kB / 0.6412 GB, free: 10.48 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.937e-05/0.006246, allocations: 3.984 kB / 0.6412 GB, free: 10.48 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.345e-05/0.00628, allocations: 7.938 kB / 0.6412 GB, free: 10.47 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.006283, allocations: 4.031 kB / 0.6412 GB, free: 10.47 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.597e-05/0.006298, allocations: 8.859 kB / 0.6412 GB, free: 10.46 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.006299, allocations: 0 / 0.6412 GB, free: 10.46 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.000183/0.006481, allocations: 4 kB / 0.6412 GB, free: 10.45 MB / 0.6043 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 (1): * Single equations (assignments): 1 * 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.0001072/0.006589, allocations: 84.33 kB / 0.6413 GB, free: 10.36 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 6.605e-05/0.006655, allocations: 8.859 kB / 0.6413 GB, free: 10.35 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.006658, allocations: 0 / 0.6413 GB, free: 10.35 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 1.368e-05/0.006671, allocations: 8.859 kB / 0.6413 GB, free: 10.34 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001941/0.006866, allocations: 12.12 kB / 0.6413 GB, free: 10.33 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002977/0.007163, allocations: 111.4 kB / 0.6414 GB, free: 10.19 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.239e-05/0.007206, allocations: 59.34 kB / 0.6415 GB, free: 10.11 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 2.125e-05/0.007227, allocations: 0 / 0.6415 GB, free: 10.11 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.771e-05/0.007275, allocations: 51.38 kB / 0.6416 GB, free: 10.06 MB / 0.6043 GB Notification: Performance of SimCode: time 6.61e-07/0.007275, allocations: 0 / 0.6416 GB, free: 10.06 MB / 0.6043 GB Notification: Performance of Templates: time 0.002299/0.009575, allocations: 455.2 kB / 0.642 GB, free: 9.621 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & ./AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.239491245243698]