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.04392/0.04392, allocations: 9.127 MB / 28.99 MB, free: 336 kB / 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.0008516/0.0008516, allocations: 95.02 kB / 35.33 MB, free: 0.9336 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.0009547/0.0009547, allocations: 169.4 kB / 38.73 MB, free: 2.395 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.9827/0.9827, allocations: 177.2 MB / 219.2 MB, free: 10.08 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.006632/0.006632, allocations: 0.8334 MB / 276.5 MB, free: 0.7031 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.668/1.668, allocations: 274.9 MB / 0.5419 GB, free: 0.5781 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 1.723e-06/1.723e-06, allocations: 0 / 0.6379 GB, free: 14.05 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.141e-05/1.313e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.05 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001432/0.001446, allocations: 0.7212 MB / 0.6386 GB, free: 13.33 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0008549/0.0023, allocations: 0.8741 MB / 0.6394 GB, free: 12.44 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.717e-05/0.002348, allocations: 0 / 0.6394 GB, free: 12.44 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 9.212e-05/0.00244, allocations: 3.938 kB / 0.6394 GB, free: 12.44 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 2.52e-05/0.002465, allocations: 3.938 kB / 0.6394 GB, free: 12.43 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.000153/0.002618, allocations: 19.98 kB / 0.6395 GB, free: 12.41 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 8.146e-05/0.002699, allocations: 39.83 kB / 0.6395 GB, free: 12.38 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 8.988e-05/0.002789, allocations: 11.98 kB / 0.6395 GB, free: 12.36 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 7.522e-05/0.002865, allocations: 11.98 kB / 0.6395 GB, free: 12.35 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 7.004e-05/0.002935, allocations: 19.97 kB / 0.6395 GB, free: 12.33 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.002953, allocations: 0 / 0.6395 GB, free: 12.33 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 1.023e-05/0.002963, allocations: 8 kB / 0.6396 GB, free: 12.32 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 5.435e-05/0.003017, allocations: 15.92 kB / 0.6396 GB, free: 12.31 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 2.459e-05/0.003042, allocations: 8 kB / 0.6396 GB, free: 12.3 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 9.482e-05/0.003137, allocations: 35.77 kB / 0.6396 GB, free: 12.27 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.003139, allocations: 0 / 0.6396 GB, free: 12.27 MB / 0.6043 GB Notification: Performance of FrontEnd: time 6.31e-07/0.00314, allocations: 4 kB / 0.6396 GB, free: 12.26 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.003145, allocations: 0 / 0.6396 GB, free: 12.26 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.0003046/0.00345, allocations: 240.9 kB / 0.6398 GB, free: 12 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.003488, allocations: 15.98 kB / 0.6399 GB, free: 11.98 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.968e-05/0.003518, allocations: 4.938 kB / 0.6399 GB, free: 11.98 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.003645, allocations: 117.8 kB / 0.64 GB, free: 11.84 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.003662, allocations: 384 / 0.64 GB, free: 11.84 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.818e-06/0.003672, allocations: 8.375 kB / 0.64 GB, free: 11.83 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001236/0.003795, allocations: 58.94 kB / 0.64 GB, free: 11.77 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.003804, allocations: 192 / 0.64 GB, free: 11.77 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.834e-06/0.003812, allocations: 384 / 0.64 GB, free: 11.77 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.003819, allocations: 384 / 0.64 GB, free: 11.77 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.499e-05/0.003854, allocations: 23.86 kB / 0.6401 GB, free: 11.74 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002321/0.004086, allocations: 171 kB / 0.6402 GB, free: 11.56 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 4.383e-05/0.00413, allocations: 26.52 kB / 0.6403 GB, free: 11.52 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.048e-05/0.00415, allocations: 12.92 kB / 0.6403 GB, free: 11.51 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.286e-05/0.004163, allocations: 0 / 0.6403 GB, free: 11.51 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.004185, allocations: 30.56 kB / 0.6403 GB, free: 11.47 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.004186, allocations: 4 kB / 0.6403 GB, free: 11.46 MB / 0.6043 GB Notification: Performance of matching and sorting (n=2): time 0.0001178/0.004304, allocations: 41.62 kB / 0.6403 GB, free: 11.42 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.932e-05/0.004333, allocations: 51.41 kB / 0.6404 GB, free: 11.36 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.027e-05/0.004394, allocations: 114.8 kB / 0.6405 GB, free: 11.23 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.03e-05/0.004404, allocations: 25.7 kB / 0.6405 GB, free: 11.2 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 3.392e-05/0.004438, allocations: 92.09 kB / 0.6406 GB, free: 11.11 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.514e-05/0.004453, allocations: 8 kB / 0.6406 GB, free: 11.1 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.854e-05/0.004482, allocations: 17.69 kB / 0.6406 GB, free: 11.07 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 7.422e-05/0.004556, allocations: 314.8 kB / 0.6409 GB, free: 10.76 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.015e-05/0.004566, allocations: 0 / 0.6409 GB, free: 10.76 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.003e-05/0.004576, allocations: 4 kB / 0.6409 GB, free: 10.75 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.077e-05/0.004607, allocations: 15.67 kB / 0.6409 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.004608, allocations: 0 / 0.6409 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.216e-05/0.004651, allocations: 41.94 kB / 0.641 GB, free: 10.69 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.004662, allocations: 16.03 kB / 0.641 GB, free: 10.67 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.004666, allocations: 0 / 0.641 GB, free: 10.67 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.004679, allocations: 0 / 0.641 GB, free: 10.67 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.04e-05/0.004739, allocations: 11.94 kB / 0.641 GB, free: 10.66 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.146e-06/0.004743, allocations: 0 / 0.641 GB, free: 10.66 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.281e-05/0.004765, allocations: 7.984 kB / 0.641 GB, free: 10.65 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.747e-06/0.004769, allocations: 0 / 0.641 GB, free: 10.65 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 5.779e-05/0.004827, allocations: 112.7 kB / 0.6411 GB, free: 10.53 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.4e-05/0.004841, allocations: 0 / 0.6411 GB, free: 10.53 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.708e-05/0.004858, allocations: 7.25 kB / 0.6411 GB, free: 10.53 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.004859, allocations: 4 kB / 0.6411 GB, free: 10.52 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-06/0.004861, allocations: 4 kB / 0.6411 GB, free: 10.52 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.004864, allocations: 0 / 0.6411 GB, free: 10.52 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.942e-05/0.004943, allocations: 73.88 kB / 0.6412 GB, free: 10.43 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.004944, allocations: 0 / 0.6412 GB, free: 10.43 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.277e-05/0.004967, allocations: 11.98 kB / 0.6412 GB, free: 10.42 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.12e-07/0.004968, allocations: 0 / 0.6412 GB, free: 10.42 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.379e-06/0.004972, allocations: 0 / 0.6412 GB, free: 10.42 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.004973, allocations: 0 / 0.6412 GB, free: 10.42 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.004975, allocations: 3.938 kB / 0.6412 GB, free: 10.41 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.312e-05/0.005048, allocations: 143.4 kB / 0.6414 GB, free: 10.26 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 5.851e-06/0.005054, allocations: 3.953 kB / 0.6414 GB, free: 10.25 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.144e-06/0.005061, allocations: 0 / 0.6414 GB, free: 10.25 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.129e-05/0.005093, allocations: 4 kB / 0.6414 GB, free: 10.25 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.474e-05/0.005127, allocations: 11.92 kB / 0.6414 GB, free: 10.24 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.005132, allocations: 4 kB / 0.6414 GB, free: 10.23 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 8.726e-06/0.00514, allocations: 4.859 kB / 0.6414 GB, free: 10.23 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.00514, allocations: 4 kB / 0.6414 GB, free: 10.22 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001125/0.005253, allocations: 4 kB / 0.6414 GB, free: 10.22 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 6.895e-05/0.005322, allocations: 84.44 kB / 0.6415 GB, free: 10.13 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 5.164e-05/0.005373, allocations: 8.859 kB / 0.6415 GB, free: 10.12 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.005376, allocations: 0 / 0.6415 GB, free: 10.12 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 1.774e-05/0.005393, allocations: 20.78 kB / 0.6415 GB, free: 10.09 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001202/0.005513, allocations: 11.98 kB / 0.6415 GB, free: 10.08 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002134/0.005727, allocations: 123.3 kB / 0.6416 GB, free: 9.934 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.002e-05/0.005757, allocations: 59.34 kB / 0.6417 GB, free: 9.855 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 1.95e-05/0.005776, allocations: 4.125 kB / 0.6417 GB, free: 9.852 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.03e-05/0.005817, allocations: 51.38 kB / 0.6418 GB, free: 9.801 MB / 0.6043 GB Notification: Performance of SimCode: time 3.51e-07/0.005817, allocations: 0 / 0.6418 GB, free: 9.801 MB / 0.6043 GB Notification: Performance of Templates: time 0.001977/0.007794, allocations: 0.6606 MB / 0.6424 GB, free: 9.141 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.299654379021376]