Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.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.04014/0.04014, allocations: 9.133 MB / 28.99 MB, free: 0.8164 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.0008629/0.0008629, allocations: 87.27 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.001021/0.001021, allocations: 163.6 kB / 38.73 MB, free: 2.5 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.9305/0.9305, 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.004245/0.004245, allocations: 0.8186 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.679/1.679, 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.IntegerExtractSignal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") translateModel(AixLib.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 0.6378 GB, free: 14.14 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.192e-05/1.385e-05, allocations: 6.312 kB / 0.6378 GB, free: 14.13 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.001336/0.00135, allocations: 0.8554 MB / 0.6387 GB, free: 13.28 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001389/0.002739, allocations: 1.369 MB / 0.64 GB, free: 11.89 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.358e-05/0.002792, allocations: 8 kB / 0.64 GB, free: 11.89 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0001047/0.002897, allocations: 15.8 kB / 0.64 GB, free: 11.87 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 7.207e-05/0.002969, allocations: 31.67 kB / 0.6401 GB, free: 11.84 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005317/0.003501, allocations: 263.4 kB / 0.6403 GB, free: 11.58 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0002868/0.003787, allocations: 331.3 kB / 0.6406 GB, free: 11.26 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.003909, allocations: 46.25 kB / 0.6407 GB, free: 11.21 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002015/0.00411, allocations: 187.7 kB / 0.6409 GB, free: 11.02 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001451/0.004255, allocations: 83.77 kB / 0.6409 GB, free: 10.94 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 3.337e-05/0.004289, allocations: 24 kB / 0.641 GB, free: 10.92 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 8.45e-05/0.004373, allocations: 43.86 kB / 0.641 GB, free: 10.88 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 6.567e-05/0.004439, allocations: 43.84 kB / 0.641 GB, free: 10.83 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 7.492e-05/0.004514, allocations: 79.81 kB / 0.6411 GB, free: 10.75 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0002217/0.004736, allocations: 223.3 kB / 0.6413 GB, free: 10.54 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.533e-06/0.004737, allocations: 0 / 0.6413 GB, free: 10.54 MB / 0.6043 GB Notification: Performance of FrontEnd: time 6.01e-07/0.004738, allocations: 0 / 0.6413 GB, free: 10.54 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.577e-06/0.004741, allocations: 0 / 0.6413 GB, free: 10.54 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0004625/0.005204, allocations: 455 kB / 0.6418 GB, free: 10.05 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.005237, allocations: 15.98 kB / 0.6418 GB, free: 10.04 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002028/0.00544, allocations: 48.88 kB / 0.6418 GB, free: 9.988 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002034/0.005644, allocations: 193.3 kB / 0.642 GB, free: 9.773 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.084e-05/0.005664, allocations: 12.38 kB / 0.642 GB, free: 9.762 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.638e-05/0.005691, allocations: 20.38 kB / 0.642 GB, free: 9.742 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.005819, allocations: 126.2 kB / 0.6422 GB, free: 9.598 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.005826, allocations: 192 / 0.6422 GB, free: 9.598 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.005837, allocations: 8.375 kB / 0.6422 GB, free: 9.59 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.005842, allocations: 384 / 0.6422 GB, free: 9.59 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.832e-05/0.00588, allocations: 31.86 kB / 0.6422 GB, free: 9.559 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000416/0.006296, allocations: 0.5266 MB / 0.6427 GB, free: 9.004 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 5.928e-05/0.006355, allocations: 45.28 kB / 0.6428 GB, free: 8.941 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.822e-05/0.006374, allocations: 17.72 kB / 0.6428 GB, free: 8.918 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 7.263e-06/0.006381, allocations: 3.984 kB / 0.6428 GB, free: 8.914 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.849e-05/0.006469, allocations: 97.02 kB / 0.6429 GB, free: 8.801 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=8): time 8.22e-07/0.00647, allocations: 0 / 0.6429 GB, free: 8.801 MB / 0.6043 GB Notification: Performance of matching and sorting (n=8): time 0.0001357/0.006606, allocations: 89.5 kB / 0.643 GB, free: 8.707 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.034e-05/0.006646, allocations: 85.11 kB / 0.643 GB, free: 8.605 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.006762, allocations: 199.4 kB / 0.6432 GB, free: 8.395 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 2.19e-05/0.006784, allocations: 33.7 kB / 0.6433 GB, free: 8.355 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 6.885e-05/0.006853, allocations: 136.1 kB / 0.6434 GB, free: 8.219 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.244e-05/0.006866, allocations: 15.84 kB / 0.6434 GB, free: 8.203 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.648e-05/0.006932, allocations: 61.64 kB / 0.6435 GB, free: 8.137 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 8.067e-05/0.007013, allocations: 330.7 kB / 0.6438 GB, free: 7.805 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.592e-05/0.007089, allocations: 99.38 kB / 0.6439 GB, free: 7.695 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/0.007203, allocations: 219.3 kB / 0.6441 GB, free: 7.426 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000125/0.007328, allocations: 180.9 kB / 0.6443 GB, free: 7.211 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.007331, allocations: 0 / 0.6443 GB, free: 7.211 MB / 0.6043 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002122/0.007543, allocations: 284.2 kB / 0.6445 GB, free: 6.902 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 4.1e-05/0.007584, allocations: 71.39 kB / 0.6446 GB, free: 6.82 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.00759, allocations: 0 / 0.6446 GB, free: 6.82 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.007603, allocations: 12.12 kB / 0.6446 GB, free: 6.809 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.107e-05/0.007644, allocations: 8 kB / 0.6446 GB, free: 6.801 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.992e-06/0.00765, allocations: 7.984 kB / 0.6446 GB, free: 6.793 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001438/0.007794, allocations: 35.92 kB / 0.6447 GB, free: 6.758 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.883e-05/0.007813, allocations: 15.98 kB / 0.6447 GB, free: 6.742 MB / 0.6043 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition3,$whenCondition4,intPul.booPul.y,$PRE.intPul.booPul.y,extIntSig1.y[4],$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,extIntSig1.y[5],conInt2.y,conInt3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 2 * 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 8.531e-05/0.007898, allocations: 132.5 kB / 0.6448 GB, free: 6.602 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.369e-05/0.007912, allocations: 11.98 kB / 0.6448 GB, free: 6.59 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.561e-05/0.007937, allocations: 21.02 kB / 0.6448 GB, free: 6.574 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.007941, allocations: 3.938 kB / 0.6448 GB, free: 6.57 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.023e-06/0.007943, allocations: 0 / 0.6448 GB, free: 6.57 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.007946, allocations: 4 kB / 0.6448 GB, free: 6.566 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.76e-05/0.008034, allocations: 101.8 kB / 0.6449 GB, free: 6.449 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.008036, allocations: 4 kB / 0.6449 GB, free: 6.445 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.11e-05/0.008047, allocations: 0 / 0.6449 GB, free: 6.445 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.008048, allocations: 4 kB / 0.645 GB, free: 6.441 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.067e-06/0.008052, allocations: 0 / 0.645 GB, free: 6.441 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.008055, allocations: 7.922 kB / 0.645 GB, free: 6.434 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.008056, allocations: 4 kB / 0.645 GB, free: 6.43 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.874e-05/0.008135, allocations: 97.89 kB / 0.6451 GB, free: 6.312 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 1.426e-05/0.008149, allocations: 11.91 kB / 0.6451 GB, free: 6.301 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.324e-05/0.008162, allocations: 7.984 kB / 0.6451 GB, free: 6.293 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.637e-05/0.008179, allocations: 4 kB / 0.6451 GB, free: 6.289 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.313e-05/0.008202, allocations: 7.922 kB / 0.6451 GB, free: 6.281 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.079e-06/0.008207, allocations: 8 kB / 0.6451 GB, free: 6.273 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 4.598e-05/0.008253, allocations: 55.05 kB / 0.6451 GB, free: 6.219 MB / 0.6043 GB Notification: Performance of sort global known variables: time 6e-08/0.008253, allocations: 3.938 kB / 0.6451 GB, free: 6.215 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.000152/0.008405, allocations: 47.89 kB / 0.6452 GB, free: 6.168 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: 8 ($whenCondition3,$whenCondition4,extIntSig1.y[4],intPul.booPul.y,$whenCondition1,$whenCondition2,extIntSig1.y[5],intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.555e-05/0.0085, allocations: 92.33 kB / 0.6453 GB, free: 6.07 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0002037/0.008704, allocations: 267 kB / 0.6455 GB, free: 5.77 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.008709, allocations: 4 kB / 0.6455 GB, free: 5.766 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 2.759e-05/0.008736, allocations: 29.53 kB / 0.6456 GB, free: 5.734 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001342/0.008871, allocations: 40.28 kB / 0.6456 GB, free: 5.695 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003217/0.009192, allocations: 289 kB / 0.6459 GB, free: 5.379 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.298e-05/0.009235, allocations: 71.98 kB / 0.646 GB, free: 5.289 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 3.819e-05/0.009273, allocations: 21.56 kB / 0.646 GB, free: 5.262 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/0.009385, allocations: 95.33 kB / 0.6461 GB, free: 5.168 MB / 0.6043 GB Notification: Performance of SimCode: time 7.12e-07/0.009386, allocations: 4 kB / 0.6461 GB, free: 5.164 MB / 0.6043 GB Notification: Performance of Templates: time 0.004182/0.01357, allocations: 2.875 MB / 0.6489 GB, free: 2.281 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & ./AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.472736946307123]