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.04412/0.04412, allocations: 9.13 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.001416/0.001416, allocations: 98.02 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.001217/0.001217, allocations: 164.7 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.028/1.028, allocations: 177.2 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.005089/0.005089, allocations: 0.8225 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.703/1.703, allocations: 274.9 MB / 0.5419 GB, free: 0.6406 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.825e-06/2.825e-06, allocations: 0 / 0.6379 GB, free: 14.11 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.768e-05/3.051e-05, allocations: 2.312 kB / 0.6379 GB, free: 14.11 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.004244/0.004275, allocations: 1.017 MB / 0.6389 GB, free: 13.09 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001811/0.006085, allocations: 1.412 MB / 0.6403 GB, free: 11.66 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.932e-05/0.006164, allocations: 8 kB / 0.6403 GB, free: 11.65 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0001123/0.006277, allocations: 19.73 kB / 0.6403 GB, free: 11.63 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 9.922e-05/0.006376, allocations: 51.58 kB / 0.6403 GB, free: 11.58 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006718/0.007048, allocations: 263.3 kB / 0.6406 GB, free: 11.32 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0004327/0.007481, allocations: 391.2 kB / 0.641 GB, free: 10.94 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.007611, allocations: 42.44 kB / 0.641 GB, free: 10.9 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003248/0.007936, allocations: 231.6 kB / 0.6412 GB, free: 10.67 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001848/0.008121, allocations: 95.75 kB / 0.6413 GB, free: 10.58 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 3.895e-05/0.00816, allocations: 28 kB / 0.6413 GB, free: 10.55 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001238/0.008284, allocations: 51.91 kB / 0.6414 GB, free: 10.5 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 6.599e-05/0.00835, allocations: 51.78 kB / 0.6414 GB, free: 10.45 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 9.524e-05/0.008445, allocations: 87.8 kB / 0.6415 GB, free: 10.36 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0002962/0.008741, allocations: 255.2 kB / 0.6418 GB, free: 10.11 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.008745, allocations: 0 / 0.6418 GB, free: 10.11 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.152e-06/0.008746, allocations: 8 kB / 0.6418 GB, free: 10.11 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.008752, allocations: 0 / 0.6418 GB, free: 10.11 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.0005752/0.009327, allocations: 0.4986 MB / 0.6423 GB, free: 9.566 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.009365, allocations: 11.98 kB / 0.6423 GB, free: 9.555 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002098/0.009575, allocations: 56.86 kB / 0.6423 GB, free: 9.5 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002283/0.009803, allocations: 212.8 kB / 0.6425 GB, free: 9.266 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/0.009824, allocations: 12.38 kB / 0.6425 GB, free: 9.254 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.495e-05/0.009849, allocations: 28.31 kB / 0.6426 GB, free: 9.227 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002006/0.01005, allocations: 167.1 kB / 0.6427 GB, free: 9.039 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.076e-06/0.01006, allocations: 192 / 0.6427 GB, free: 9.039 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.01007, allocations: 8.375 kB / 0.6427 GB, free: 9.031 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.01008, allocations: 4.375 kB / 0.6427 GB, free: 9.027 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.195e-05/0.01013, allocations: 35.8 kB / 0.6428 GB, free: 8.992 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005377/0.01066, allocations: 0.6323 MB / 0.6434 GB, free: 8.328 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/0.01077, allocations: 113 kB / 0.6435 GB, free: 8.172 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.496e-05/0.0108, allocations: 32.36 kB / 0.6435 GB, free: 8.125 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 8.696e-06/0.01081, allocations: 4 kB / 0.6435 GB, free: 8.121 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001376/0.01095, allocations: 127.5 kB / 0.6437 GB, free: 7.969 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=11): time 1.744e-06/0.01095, allocations: 0 / 0.6437 GB, free: 7.969 MB / 0.6043 GB Notification: Performance of matching and sorting (n=11): time 0.0001865/0.01114, allocations: 109.8 kB / 0.6438 GB, free: 7.855 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.39e-05/0.0112, allocations: 166.2 kB / 0.6439 GB, free: 7.656 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000133/0.01133, allocations: 209 kB / 0.6441 GB, free: 7.438 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 2.847e-05/0.01136, allocations: 33.7 kB / 0.6441 GB, free: 7.398 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 6.294e-05/0.01143, allocations: 132.9 kB / 0.6443 GB, free: 7.266 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 2.91e-05/0.01145, allocations: 35.72 kB / 0.6443 GB, free: 7.23 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.764e-05/0.01152, allocations: 45.67 kB / 0.6444 GB, free: 7.18 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 8.529e-05/0.01161, allocations: 326.8 kB / 0.6447 GB, free: 6.852 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001154/0.01172, allocations: 103.4 kB / 0.6448 GB, free: 6.738 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004117/0.01213, allocations: 228.1 kB / 0.645 GB, free: 6.457 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000155/0.01229, allocations: 197.8 kB / 0.6452 GB, free: 6.223 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.01229, allocations: 0 / 0.6452 GB, free: 6.223 MB / 0.6043 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002392/0.01253, allocations: 288.2 kB / 0.6454 GB, free: 5.91 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 5.474e-05/0.01259, allocations: 71.39 kB / 0.6455 GB, free: 5.828 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.01259, allocations: 4 kB / 0.6455 GB, free: 5.824 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.01261, allocations: 7.938 kB / 0.6455 GB, free: 5.816 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.566e-05/0.01271, allocations: 19.97 kB / 0.6455 GB, free: 5.797 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.176e-06/0.01271, allocations: 4 kB / 0.6455 GB, free: 5.793 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001659/0.01288, allocations: 60.47 kB / 0.6456 GB, free: 5.734 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.052e-05/0.0129, allocations: 11.98 kB / 0.6456 GB, free: 5.723 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.000105/0.013, allocations: 128.6 kB / 0.6457 GB, free: 5.586 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.568e-05/0.01303, allocations: 15.98 kB / 0.6458 GB, free: 5.57 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.358e-05/0.01307, allocations: 25.33 kB / 0.6458 GB, free: 5.551 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.01308, allocations: 11.92 kB / 0.6458 GB, free: 5.539 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.01308, allocations: 0 / 0.6458 GB, free: 5.539 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.01309, allocations: 0 / 0.6458 GB, free: 5.539 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001443/0.01323, allocations: 117.8 kB / 0.6459 GB, free: 5.406 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.01323, allocations: 4 kB / 0.6459 GB, free: 5.402 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.375e-05/0.01329, allocations: 19.92 kB / 0.6459 GB, free: 5.383 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.571e-06/0.01329, allocations: 4 kB / 0.6459 GB, free: 5.379 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.0133, allocations: 4 kB / 0.6459 GB, free: 5.375 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.0133, allocations: 4 kB / 0.6459 GB, free: 5.371 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.01331, allocations: 0 / 0.6459 GB, free: 5.371 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001473/0.01345, allocations: 140.3 kB / 0.6461 GB, free: 5.203 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 2.369e-05/0.01348, allocations: 19.8 kB / 0.6461 GB, free: 5.184 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.689e-05/0.01349, allocations: 12 kB / 0.6461 GB, free: 5.172 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.571e-05/0.01354, allocations: 15.98 kB / 0.6461 GB, free: 5.156 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.904e-05/0.01359, allocations: 15.92 kB / 0.6461 GB, free: 5.141 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.0136, allocations: 11.98 kB / 0.6461 GB, free: 5.129 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 5.052e-05/0.01365, allocations: 62.78 kB / 0.6462 GB, free: 5.066 MB / 0.6043 GB Notification: Performance of sort global known variables: time 7e-08/0.01365, allocations: 0 / 0.6462 GB, free: 5.066 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001991/0.01385, allocations: 55.89 kB / 0.6463 GB, free: 5.012 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.0001382/0.01398, allocations: 84.36 kB / 0.6463 GB, free: 4.918 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0002547/0.01424, allocations: 283.1 kB / 0.6466 GB, free: 4.602 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.01425, allocations: 3.938 kB / 0.6466 GB, free: 4.598 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 5.086e-05/0.0143, allocations: 36.77 kB / 0.6466 GB, free: 4.559 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001976/0.01449, allocations: 48.84 kB / 0.6467 GB, free: 4.512 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005148/0.01501, allocations: 371.5 kB / 0.647 GB, free: 4.109 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.655e-05/0.01507, allocations: 83.97 kB / 0.6471 GB, free: 4.008 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 8.053e-05/0.01515, allocations: 21.64 kB / 0.6471 GB, free: 3.984 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001553/0.0153, allocations: 107.3 kB / 0.6472 GB, free: 3.879 MB / 0.6043 GB Notification: Performance of SimCode: time 1.143e-06/0.0153, allocations: 3.938 kB / 0.6472 GB, free: 3.875 MB / 0.6043 GB Notification: Performance of Templates: time 0.006315/0.02162, allocations: 3.437 MB / 0.6506 GB, free: 440 kB / 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.3892087009735405]