Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.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.05016/0.05016, allocations: 9.129 MB / 28.99 MB, free: 408 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.0008386/0.0008386, allocations: 98.58 kB / 35.33 MB, free: 0.9141 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.0008941/0.0008941, allocations: 164.9 kB / 38.73 MB, free: 2.238 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.9974/0.9974, allocations: 177.2 MB / 219.2 MB, free: 10.09 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.004071/0.004071, allocations: 0.8257 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.73/1.73, 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.RealExtractSignal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") translateModel(AixLib.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.324e-06/2.324e-06, allocations: 0 / 0.6378 GB, free: 14.13 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.544e-05/2.776e-05, allocations: 2.312 kB / 0.6378 GB, free: 14.13 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.00702/0.007048, allocations: 0.962 MB / 0.6388 GB, free: 13.16 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001815/0.008863, allocations: 1.415 MB / 0.6402 GB, free: 11.73 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.481e-05/0.008948, allocations: 0 / 0.6402 GB, free: 11.73 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0001231/0.009071, allocations: 19.73 kB / 0.6402 GB, free: 11.71 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.0001144/0.009185, allocations: 47.59 kB / 0.6402 GB, free: 11.67 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.003779/0.01296, allocations: 267.4 kB / 0.6405 GB, free: 11.41 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0004709/0.01343, allocations: 395.1 kB / 0.6409 GB, free: 11.02 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001534/0.01359, allocations: 42.44 kB / 0.6409 GB, free: 10.98 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003315/0.01392, allocations: 235.6 kB / 0.6411 GB, free: 10.75 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001939/0.01411, allocations: 95.69 kB / 0.6412 GB, free: 10.65 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 4.824e-05/0.01416, allocations: 28 kB / 0.6412 GB, free: 10.62 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001144/0.01428, allocations: 47.91 kB / 0.6413 GB, free: 10.58 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 7.654e-05/0.01435, allocations: 51.78 kB / 0.6413 GB, free: 10.53 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 0.0001095/0.01446, allocations: 95.8 kB / 0.6414 GB, free: 10.43 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0003453/0.01481, allocations: 255.1 kB / 0.6417 GB, free: 10.18 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.01481, allocations: 4 kB / 0.6417 GB, free: 10.18 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.963e-06/0.01481, allocations: 0 / 0.6417 GB, free: 10.18 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.01482, allocations: 0 / 0.6417 GB, free: 10.18 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.003719/0.01854, allocations: 0.5025 MB / 0.6422 GB, free: 9.637 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.01858, allocations: 15.98 kB / 0.6422 GB, free: 9.621 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002548/0.01884, allocations: 48.88 kB / 0.6422 GB, free: 9.574 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002784/0.01912, allocations: 212.8 kB / 0.6424 GB, free: 9.34 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.914e-05/0.01914, allocations: 16.38 kB / 0.6425 GB, free: 9.324 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.545e-05/0.01918, allocations: 20.38 kB / 0.6425 GB, free: 9.305 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002484/0.01943, allocations: 175.1 kB / 0.6426 GB, free: 9.109 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.01944, allocations: 192 / 0.6426 GB, free: 9.109 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.01945, allocations: 4.375 kB / 0.6426 GB, free: 9.105 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.01946, allocations: 4.375 kB / 0.6426 GB, free: 9.102 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.825e-05/0.01953, allocations: 35.86 kB / 0.6427 GB, free: 9.066 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006482/0.02018, allocations: 0.6362 MB / 0.6433 GB, free: 8.398 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001157/0.02029, allocations: 109 kB / 0.6434 GB, free: 8.246 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.012e-05/0.02033, allocations: 32.36 kB / 0.6434 GB, free: 8.199 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.026e-05/0.02034, allocations: 3.938 kB / 0.6434 GB, free: 8.195 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001587/0.0205, allocations: 131.5 kB / 0.6436 GB, free: 8.039 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=11): time 1.293e-06/0.0205, allocations: 0 / 0.6436 GB, free: 8.039 MB / 0.6043 GB Notification: Performance of matching and sorting (n=11): time 0.0002219/0.02072, allocations: 113.5 kB / 0.6437 GB, free: 7.922 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.875e-05/0.02079, allocations: 162.2 kB / 0.6438 GB, free: 7.727 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000149/0.02094, allocations: 209 kB / 0.644 GB, free: 7.508 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 2.822e-05/0.02097, allocations: 33.7 kB / 0.6441 GB, free: 7.469 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003416/0.02131, allocations: 132.9 kB / 0.6442 GB, free: 7.336 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.003046/0.02436, allocations: 35.72 kB / 0.6442 GB, free: 7.301 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.144e-05/0.02445, allocations: 49.67 kB / 0.6443 GB, free: 7.246 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 9.832e-05/0.02455, allocations: 326.8 kB / 0.6446 GB, free: 6.918 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001133/0.02466, allocations: 99.38 kB / 0.6447 GB, free: 6.809 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001519/0.02481, allocations: 232.4 kB / 0.6449 GB, free: 6.523 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001692/0.02498, allocations: 185.8 kB / 0.6451 GB, free: 6.301 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.02499, allocations: 0 / 0.6451 GB, free: 6.301 MB / 0.6043 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003021/0.02529, allocations: 296.2 kB / 0.6454 GB, free: 5.98 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 5.647e-05/0.02535, allocations: 67.39 kB / 0.6454 GB, free: 5.902 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.02535, allocations: 0 / 0.6454 GB, free: 5.902 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.02537, allocations: 7.938 kB / 0.6454 GB, free: 5.895 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.02547, allocations: 19.98 kB / 0.6454 GB, free: 5.875 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.02548, allocations: 7.922 kB / 0.6455 GB, free: 5.867 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002077/0.02568, allocations: 64.06 kB / 0.6455 GB, free: 5.805 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.606e-05/0.02571, allocations: 12.45 kB / 0.6455 GB, free: 5.793 MB / 0.6043 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,pul.booPul.y,$PRE.pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y,$PRE.pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 11 * 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 0.0001071/0.02582, allocations: 120.7 kB / 0.6456 GB, free: 5.664 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.199e-05/0.02585, allocations: 19.98 kB / 0.6457 GB, free: 5.645 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.168e-05/0.02589, allocations: 21.33 kB / 0.6457 GB, free: 5.625 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.842e-06/0.0259, allocations: 19.8 kB / 0.6457 GB, free: 5.605 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.285e-06/0.0259, allocations: 0 / 0.6457 GB, free: 5.605 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.02591, allocations: 4 kB / 0.6457 GB, free: 5.602 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000146/0.02605, allocations: 113.8 kB / 0.6458 GB, free: 5.473 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.02605, allocations: 4 kB / 0.6458 GB, free: 5.469 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.772e-05/0.02611, allocations: 15.98 kB / 0.6458 GB, free: 5.453 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.02611, allocations: 4 kB / 0.6458 GB, free: 5.449 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.02612, allocations: 4 kB / 0.6458 GB, free: 5.445 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.02612, allocations: 4 kB / 0.6458 GB, free: 5.441 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.02613, allocations: 0 / 0.6458 GB, free: 5.441 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001553/0.02628, allocations: 136.4 kB / 0.646 GB, free: 5.277 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 2.672e-05/0.02631, allocations: 27.78 kB / 0.646 GB, free: 5.25 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.78e-05/0.02633, allocations: 0 / 0.646 GB, free: 5.25 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.671e-05/0.02638, allocations: 15.98 kB / 0.646 GB, free: 5.234 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.85e-05/0.02643, allocations: 15.92 kB / 0.646 GB, free: 5.219 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.02644, allocations: 8 kB / 0.646 GB, free: 5.211 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 6.29e-05/0.0265, allocations: 62.78 kB / 0.6461 GB, free: 5.148 MB / 0.6043 GB Notification: Performance of sort global known variables: time 6e-08/0.0265, allocations: 0 / 0.6461 GB, free: 5.148 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0002633/0.02677, allocations: 59.88 kB / 0.6462 GB, free: 5.09 MB / 0.6043 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * 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 0.0001487/0.02692, allocations: 84.36 kB / 0.6462 GB, free: 4.996 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.002185/0.0291, allocations: 290.8 kB / 0.6465 GB, free: 4.672 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/0.02911, allocations: 0 / 0.6465 GB, free: 4.672 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 8.63e-05/0.02919, allocations: 40.77 kB / 0.6466 GB, free: 4.629 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002389/0.02943, allocations: 53.03 kB / 0.6466 GB, free: 4.578 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005798/0.03001, allocations: 371.5 kB / 0.647 GB, free: 4.176 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.708e-05/0.03007, allocations: 83.97 kB / 0.647 GB, free: 4.074 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 8.858e-05/0.03016, allocations: 25.64 kB / 0.6471 GB, free: 4.047 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001721/0.03033, allocations: 103.3 kB / 0.6472 GB, free: 3.945 MB / 0.6043 GB Notification: Performance of SimCode: time 1.443e-06/0.03033, allocations: 0 / 0.6472 GB, free: 3.945 MB / 0.6043 GB Notification: Performance of Templates: time 0.005902/0.03623, allocations: 3.445 MB / 0.6505 GB, free: 0.4922 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & ./AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealExtractSignal -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.630173771176487]