Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.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.04575/0.04575, allocations: 9.129 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.001073/0.001073, allocations: 95.2 kB / 35.33 MB, free: 1.078 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.00176/0.00176, allocations: 165.1 kB / 38.73 MB, free: 2.492 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.027/1.027, 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.004465/0.004465, allocations: 0.8337 MB / 276.5 MB, free: 0.7227 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.703/1.703, allocations: 274.9 MB / 0.5419 GB, free: 0.6367 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.BooleanScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") translateModel(AixLib.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.195e-06/2.195e-06, allocations: 0 / 0.6379 GB, free: 14.11 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.049e-05/2.268e-05, allocations: 6.312 kB / 0.6379 GB, free: 14.1 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001978/0.002001, allocations: 0.6769 MB / 0.6385 GB, free: 13.42 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001573/0.003574, allocations: 1.174 MB / 0.6397 GB, free: 12.23 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.465e-05/0.003618, allocations: 0 / 0.6397 GB, free: 12.23 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 9.131e-05/0.00371, allocations: 11.94 kB / 0.6397 GB, free: 12.22 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 2.377e-05/0.003733, allocations: 3.984 kB / 0.6397 GB, free: 12.22 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003514/0.004085, allocations: 123.6 kB / 0.6398 GB, free: 12.1 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0001209/0.004206, allocations: 87.89 kB / 0.6399 GB, free: 12.01 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 6.137e-05/0.004267, allocations: 3.938 kB / 0.6399 GB, free: 12.01 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 7.137e-05/0.004338, allocations: 51.89 kB / 0.64 GB, free: 11.96 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 8.452e-05/0.004423, allocations: 27.95 kB / 0.64 GB, free: 11.93 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.823e-05/0.004441, allocations: 8 kB / 0.64 GB, free: 11.92 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 6.954e-05/0.004511, allocations: 19.98 kB / 0.64 GB, free: 11.9 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 4.314e-05/0.004554, allocations: 19.92 kB / 0.64 GB, free: 11.88 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 3.706e-05/0.004591, allocations: 19.98 kB / 0.6401 GB, free: 11.86 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001184/0.004709, allocations: 79.83 kB / 0.6401 GB, free: 11.79 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.004712, allocations: 0 / 0.6401 GB, free: 11.79 MB / 0.6043 GB Notification: Performance of FrontEnd: time 6.71e-07/0.004712, allocations: 0 / 0.6401 GB, free: 11.79 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.616e-06/0.004716, allocations: 0 / 0.6401 GB, free: 11.79 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.0003041/0.00502, allocations: 294.1 kB / 0.6404 GB, free: 11.46 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.002e-05/0.00505, allocations: 11.98 kB / 0.6404 GB, free: 11.45 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.903e-05/0.005079, allocations: 4.938 kB / 0.6404 GB, free: 11.45 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.005201, allocations: 113.8 kB / 0.6405 GB, free: 11.31 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.005211, allocations: 8.359 kB / 0.6405 GB, free: 11.3 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.272e-05/0.005224, allocations: 8.375 kB / 0.6406 GB, free: 11.3 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.176e-05/0.005286, allocations: 46.19 kB / 0.6406 GB, free: 11.25 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.061e-06/0.005292, allocations: 192 / 0.6406 GB, free: 11.25 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.751e-06/0.005297, allocations: 384 / 0.6406 GB, free: 11.25 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.005302, allocations: 384 / 0.6406 GB, free: 11.25 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.291e-05/0.005315, allocations: 11.92 kB / 0.6406 GB, free: 11.23 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001828/0.005498, allocations: 168.2 kB / 0.6408 GB, free: 11.05 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 3.757e-05/0.005535, allocations: 22.58 kB / 0.6408 GB, free: 11.02 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.997e-06/0.005544, allocations: 8.922 kB / 0.6408 GB, free: 11.01 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 3.587e-06/0.005548, allocations: 0 / 0.6408 GB, free: 11.01 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.252e-05/0.00562, allocations: 55.39 kB / 0.6409 GB, free: 10.95 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=3): time 6.31e-07/0.005621, allocations: 0 / 0.6409 GB, free: 10.95 MB / 0.6043 GB Notification: Performance of matching and sorting (n=3): time 9.846e-05/0.00572, allocations: 53.56 kB / 0.6409 GB, free: 10.89 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.504e-05/0.005745, allocations: 51.41 kB / 0.641 GB, free: 10.82 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.42e-05/0.005799, allocations: 114.7 kB / 0.6411 GB, free: 10.7 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.005814, allocations: 33.7 kB / 0.6411 GB, free: 10.66 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 3.435e-05/0.005849, allocations: 96.06 kB / 0.6412 GB, free: 10.56 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 5.831e-06/0.005854, allocations: 0 / 0.6412 GB, free: 10.56 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.044e-05/0.005895, allocations: 33.69 kB / 0.6412 GB, free: 10.52 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 6.916e-05/0.005964, allocations: 310.8 kB / 0.6415 GB, free: 10.21 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.46e-05/0.006019, allocations: 49.94 kB / 0.6416 GB, free: 10.16 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.665e-05/0.006065, allocations: 72.27 kB / 0.6416 GB, free: 10.07 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.794e-05/0.006123, allocations: 76.17 kB / 0.6417 GB, free: 9.98 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.006125, allocations: 0 / 0.6417 GB, free: 9.98 MB / 0.6043 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001174/0.006242, allocations: 145 kB / 0.6418 GB, free: 9.82 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 3.304e-05/0.006275, allocations: 37.64 kB / 0.6419 GB, free: 9.777 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.351e-06/0.006281, allocations: 7.938 kB / 0.6419 GB, free: 9.77 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.006292, allocations: 0 / 0.6419 GB, free: 9.77 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.638e-05/0.006308, allocations: 96 / 0.6419 GB, free: 9.77 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.515e-06/0.006311, allocations: 4 kB / 0.6419 GB, free: 9.766 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001086/0.00642, allocations: 31.86 kB / 0.6419 GB, free: 9.734 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.37e-05/0.006433, allocations: 7.984 kB / 0.6419 GB, free: 9.727 MB / 0.6043 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.27e-05/0.006496, allocations: 116.6 kB / 0.642 GB, free: 9.602 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.575e-06/0.006504, allocations: 4 kB / 0.642 GB, free: 9.598 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.013e-05/0.006524, allocations: 15.92 kB / 0.6421 GB, free: 9.586 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.006525, allocations: 0 / 0.6421 GB, free: 9.586 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.006527, allocations: 0 / 0.6421 GB, free: 9.586 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.006529, allocations: 240 / 0.6421 GB, free: 9.586 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.13e-05/0.006591, allocations: 69.89 kB / 0.6421 GB, free: 9.5 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.006593, allocations: 4 kB / 0.6421 GB, free: 9.496 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.15e-06/0.006598, allocations: 3.984 kB / 0.6421 GB, free: 9.492 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.006601, allocations: 3.984 kB / 0.6421 GB, free: 9.488 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.078e-06/0.006605, allocations: 0 / 0.6421 GB, free: 9.488 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.006606, allocations: 0 / 0.6421 GB, free: 9.488 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.006608, allocations: 3.938 kB / 0.6421 GB, free: 9.484 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.633e-05/0.006664, allocations: 65.06 kB / 0.6422 GB, free: 9.402 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 6.131e-06/0.00667, allocations: 4 kB / 0.6422 GB, free: 9.398 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.905e-06/0.006678, allocations: 4 kB / 0.6422 GB, free: 9.395 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.066e-06/0.006686, allocations: 7.984 kB / 0.6422 GB, free: 9.387 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.013e-05/0.006706, allocations: 7.938 kB / 0.6422 GB, free: 9.379 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-06/0.006709, allocations: 0 / 0.6422 GB, free: 9.379 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 1.21e-05/0.006721, allocations: 12.92 kB / 0.6422 GB, free: 9.363 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.006721, allocations: 0 / 0.6422 GB, free: 9.363 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001218/0.006843, allocations: 19.98 kB / 0.6423 GB, free: 9.344 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.079e-05/0.006934, allocations: 76.42 kB / 0.6423 GB, free: 9.258 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0001234/0.007057, allocations: 133.9 kB / 0.6425 GB, free: 9.105 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.00706, allocations: 0 / 0.6425 GB, free: 9.105 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 1.908e-05/0.007079, allocations: 25.02 kB / 0.6425 GB, free: 9.078 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.865e-05/0.007178, allocations: 7.938 kB / 0.6425 GB, free: 9.07 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002078/0.007386, allocations: 120.6 kB / 0.6426 GB, free: 8.926 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.151e-05/0.007417, allocations: 59.34 kB / 0.6427 GB, free: 8.848 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 1.585e-05/0.007433, allocations: 7.938 kB / 0.6427 GB, free: 8.84 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.502e-05/0.007498, allocations: 63.36 kB / 0.6427 GB, free: 8.777 MB / 0.6043 GB Notification: Performance of SimCode: time 5.71e-07/0.007499, allocations: 0 / 0.6427 GB, free: 8.777 MB / 0.6043 GB Notification: Performance of Templates: time 0.002872/0.01037, allocations: 1.277 MB / 0.644 GB, free: 7.5 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & ./AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.415430480148643]