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/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.04934/0.04934, allocations: 9.131 MB / 28.99 MB, free: 6.098 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.001033/0.001033, allocations: 95.2 kB / 35.33 MB, free: 0.7734 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.001152/0.001152, allocations: 170.4 kB / 38.73 MB, free: 2.145 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 1.009/1.009, allocations: 177.1 MB / 219.2 MB, free: 10.1 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.004149/0.004149, allocations: 0.821 MB / 276.5 MB, free: 0.7305 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.716/1.716, 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.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: Performance of FrontEnd - loaded program: time 2.795e-06/2.795e-06, allocations: 0 / 0.6378 GB, free: 14.11 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.316e-05/3.596e-05, allocations: 2.312 kB / 0.6378 GB, free: 14.11 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.002026/0.002062, allocations: 0.6741 MB / 0.6385 GB, free: 13.43 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001282/0.003344, allocations: 0.8663 MB / 0.6393 GB, free: 12.55 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.857e-05/0.003403, allocations: 0 / 0.6393 GB, free: 12.55 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0001365/0.003539, allocations: 11.86 kB / 0.6394 GB, free: 12.54 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 3.045e-05/0.00357, allocations: 7.984 kB / 0.6394 GB, free: 12.54 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001846/0.003754, allocations: 23.92 kB / 0.6394 GB, free: 12.51 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 8.863e-05/0.003843, allocations: 27.92 kB / 0.6394 GB, free: 12.48 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.003949, allocations: 11.94 kB / 0.6394 GB, free: 12.47 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 9.076e-05/0.00404, allocations: 19.97 kB / 0.6394 GB, free: 12.45 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 7.659e-05/0.004116, allocations: 15.92 kB / 0.6395 GB, free: 12.44 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 2.552e-05/0.004142, allocations: 4 kB / 0.6395 GB, free: 12.43 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 1.26e-05/0.004154, allocations: 0 / 0.6395 GB, free: 12.43 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 7.539e-05/0.00423, allocations: 11.98 kB / 0.6395 GB, free: 12.42 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 3.491e-05/0.004265, allocations: 15.92 kB / 0.6395 GB, free: 12.41 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001063/0.004371, allocations: 27.97 kB / 0.6395 GB, free: 12.38 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.004373, allocations: 0 / 0.6395 GB, free: 12.38 MB / 0.6043 GB Notification: Performance of FrontEnd: time 7.61e-07/0.004373, allocations: 0 / 0.6395 GB, free: 12.38 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.004378, allocations: 0 / 0.6395 GB, free: 12.38 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003935/0.004772, allocations: 248.9 kB / 0.6398 GB, free: 12.11 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.004819, allocations: 11.98 kB / 0.6398 GB, free: 12.1 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.353e-05/0.004853, allocations: 4.938 kB / 0.6398 GB, free: 12.09 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001427/0.004996, allocations: 113.7 kB / 0.6399 GB, free: 11.96 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.154e-05/0.005017, allocations: 8.297 kB / 0.6399 GB, free: 11.95 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.747e-05/0.005035, allocations: 8.375 kB / 0.6399 GB, free: 11.94 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.005196, allocations: 62.94 kB / 0.64 GB, free: 11.87 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.005206, allocations: 192 / 0.64 GB, free: 11.87 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.005218, allocations: 4.375 kB / 0.64 GB, free: 11.87 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.005225, allocations: 384 / 0.64 GB, free: 11.87 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.272e-05/0.005258, allocations: 11.94 kB / 0.64 GB, free: 11.86 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002458/0.005504, allocations: 174.9 kB / 0.6401 GB, free: 11.67 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 5.862e-05/0.005562, allocations: 18.64 kB / 0.6402 GB, free: 11.64 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.139e-05/0.005584, allocations: 16.84 kB / 0.6402 GB, free: 11.62 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.208e-05/0.005596, allocations: 0 / 0.6402 GB, free: 11.62 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.669e-05/0.005622, allocations: 38.64 kB / 0.6402 GB, free: 11.57 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=2): time 1.382e-06/0.005624, allocations: 0 / 0.6402 GB, free: 11.57 MB / 0.6043 GB Notification: Performance of matching and sorting (n=2): time 0.0001295/0.005753, allocations: 41.58 kB / 0.6402 GB, free: 11.53 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.748e-05/0.005791, allocations: 55.41 kB / 0.6403 GB, free: 11.46 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.191e-05/0.005863, allocations: 110.7 kB / 0.6404 GB, free: 11.34 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.341e-05/0.005876, allocations: 25.7 kB / 0.6404 GB, free: 11.31 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 3.999e-05/0.005916, allocations: 92.06 kB / 0.6405 GB, free: 11.21 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.513e-05/0.005931, allocations: 4 kB / 0.6405 GB, free: 11.21 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.458e-05/0.005966, allocations: 13.72 kB / 0.6405 GB, free: 11.19 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 9.773e-05/0.006064, allocations: 314.8 kB / 0.6408 GB, free: 10.88 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.428e-05/0.006078, allocations: 8.125 kB / 0.6408 GB, free: 10.87 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.699e-05/0.006095, allocations: 7.984 kB / 0.6409 GB, free: 10.86 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.856e-05/0.006133, allocations: 19.62 kB / 0.6409 GB, free: 10.84 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.006136, allocations: 0 / 0.6409 GB, free: 10.84 MB / 0.6043 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.272e-05/0.006199, allocations: 37.69 kB / 0.6409 GB, free: 10.79 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.006213, allocations: 7.938 kB / 0.6409 GB, free: 10.79 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.006218, allocations: 0 / 0.6409 GB, free: 10.79 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.006231, allocations: 3.938 kB / 0.6409 GB, free: 10.78 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.145e-05/0.006303, allocations: 4.094 kB / 0.6409 GB, free: 10.78 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.00631, allocations: 11.98 kB / 0.6409 GB, free: 10.77 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.319e-05/0.006334, allocations: 3.984 kB / 0.6409 GB, free: 10.76 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-06/0.006339, allocations: 256 / 0.6409 GB, free: 10.76 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: 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 7.817e-05/0.006417, allocations: 112.7 kB / 0.641 GB, free: 10.64 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.969e-05/0.006437, allocations: 0 / 0.641 GB, free: 10.64 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.285e-05/0.006459, allocations: 15.25 kB / 0.6411 GB, free: 10.63 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.006461, allocations: 0 / 0.6411 GB, free: 10.63 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.006464, allocations: 4 kB / 0.6411 GB, free: 10.62 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.006467, allocations: 0 / 0.6411 GB, free: 10.62 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001116/0.006579, allocations: 65.89 kB / 0.6411 GB, free: 10.54 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.00658, allocations: 7.938 kB / 0.6411 GB, free: 10.54 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.376e-05/0.006614, allocations: 11.98 kB / 0.6411 GB, free: 10.52 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.006615, allocations: 0 / 0.6411 GB, free: 10.52 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.639e-06/0.00662, allocations: 0 / 0.6411 GB, free: 10.52 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.00662, allocations: 0 / 0.6411 GB, free: 10.52 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.006622, allocations: 3.938 kB / 0.6411 GB, free: 10.52 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.609e-05/0.006718, allocations: 135.5 kB / 0.6413 GB, free: 10.37 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 6.473e-06/0.006725, allocations: 3.953 kB / 0.6413 GB, free: 10.37 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.538e-06/0.006734, allocations: 0 / 0.6413 GB, free: 10.37 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.248e-05/0.006787, allocations: 8.031 kB / 0.6413 GB, free: 10.36 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.451e-05/0.006831, allocations: 11.92 kB / 0.6413 GB, free: 10.35 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.006836, allocations: 4 kB / 0.6413 GB, free: 10.34 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.408e-05/0.00685, allocations: 12.84 kB / 0.6413 GB, free: 10.33 MB / 0.6043 GB Notification: Performance of sort global known variables: time 6e-08/0.00685, allocations: 0 / 0.6413 GB, free: 10.33 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001969/0.007047, allocations: 4 kB / 0.6413 GB, free: 10.32 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: 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 9.801e-05/0.007145, allocations: 80.36 kB / 0.6414 GB, free: 10.24 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 6.566e-05/0.00721, allocations: 12.86 kB / 0.6414 GB, free: 10.22 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.007215, allocations: 4.062 kB / 0.6414 GB, free: 10.22 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 2.181e-05/0.007237, allocations: 16.84 kB / 0.6414 GB, free: 10.2 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001707/0.007408, allocations: 4 kB / 0.6414 GB, free: 10.2 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002751/0.007683, allocations: 127.3 kB / 0.6416 GB, free: 10.04 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.652e-05/0.007729, allocations: 59.34 kB / 0.6416 GB, free: 9.965 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 2.516e-05/0.007755, allocations: 3.938 kB / 0.6416 GB, free: 9.961 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.32e-05/0.007828, allocations: 55.44 kB / 0.6417 GB, free: 9.906 MB / 0.6043 GB Notification: Performance of SimCode: time 6.81e-07/0.007828, allocations: 3.938 kB / 0.6417 GB, free: 9.902 MB / 0.6043 GB Notification: Performance of Templates: time 0.002785/0.01061, allocations: 0.6488 MB / 0.6423 GB, free: 9.254 MB / 0.6043 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=240 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.481264845002443]