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/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.001618/0.001618, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 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.001497/0.001497, allocations: 213.6 kB / 22.25 MB, free: 5.121 MB / 14.72 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.556/1.556, allocations: 230.6 MB / 256 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] 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.1071/0.1071, allocations: 12.19 MB / 324.6 MB, free: 7.273 MB / 254.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0007802/0.0007802, allocations: 29.92 kB / 384.1 MB, free: 46.59 MB / 302.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo): time 2.561/2.561, allocations: 353.8 MB / 0.7787 GB, free: 1.082 MB / 0.5138 GB " [Timeout remaining time 177] Using package AixLib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/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) 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) 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: AixLib requested package Modelica_DeviceDrivers of version 2.1.1. Modelica_DeviceDrivers 2.2.0 is used instead which states that it is fully compatible without conversion script needed. Notification: AixLib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003488/0.003488, allocations: 120.2 kB / 1.061 GB, free: 13.06 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2672/0.2707, allocations: 134.9 MB / 1.192 GB, free: 6.238 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002262/0.273, allocations: 1.001 MB / 1.193 GB, free: 5.242 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 0.00191/0.2749, allocations: 1.383 MB / 1.195 GB, free: 3.848 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.52e-05/0.275, allocations: 4 kB / 1.195 GB, free: 3.844 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 0.0001221/0.2751, allocations: 27.67 kB / 1.195 GB, free: 3.816 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 0.0001073/0.2752, allocations: 47.64 kB / 1.195 GB, free: 3.77 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007934/0.276, allocations: 269.8 kB / 1.195 GB, free: 3.512 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.0004495/0.2765, allocations: 379.3 kB / 1.195 GB, free: 3.141 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001625/0.2766, allocations: 49.72 kB / 1.195 GB, free: 3.09 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002123/0.2768, allocations: 155.6 kB / 1.195 GB, free: 2.938 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002107/0.277, allocations: 143.5 kB / 1.196 GB, free: 2.797 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 5.785e-05/0.2771, allocations: 35.94 kB / 1.196 GB, free: 2.762 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001261/0.2772, allocations: 63.91 kB / 1.196 GB, free: 2.699 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 8.518e-05/0.2773, allocations: 55.84 kB / 1.196 GB, free: 2.645 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 0.0001602/0.2775, allocations: 139.4 kB / 1.196 GB, free: 2.508 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.0004476/0.2779, allocations: 398.5 kB / 1.196 GB, free: 2.117 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.2779, allocations: 3.984 kB / 1.196 GB, free: 2.113 MB / 0.8263 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2779, allocations: 0 / 1.196 GB, free: 2.113 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 6.653e-06/0.2779, allocations: 0 / 1.196 GB, free: 2.113 MB / 0.8263 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.001/0.2789, allocations: 0.5511 MB / 1.197 GB, free: 1.516 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/0.279, allocations: 15.98 kB / 1.197 GB, free: 1.5 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004002/0.2794, allocations: 68.72 kB / 1.197 GB, free: 1.434 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009658/0.2803, allocations: 309.1 kB / 1.197 GB, free: 1.109 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.792e-05/0.2804, allocations: 16.38 kB / 1.197 GB, free: 1.094 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.025e-05/0.2804, allocations: 20.38 kB / 1.197 GB, free: 1.074 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004857/0.2809, allocations: 202.4 kB / 1.197 GB, free: 0.8555 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.2809, allocations: 3.938 kB / 1.197 GB, free: 0.8516 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.405e-05/0.2809, allocations: 11.98 kB / 1.197 GB, free: 0.8398 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.281, allocations: 4 kB / 1.197 GB, free: 0.8359 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004747/0.2814, allocations: 143.7 kB / 1.198 GB, free: 0.6953 MB / 0.8263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001285/0.2827, allocations: 0.8749 MB / 1.198 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003406/0.2831, allocations: 145 kB / 1.199 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002492/0.2833, allocations: 84.23 kB / 1.199 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.546e-05/0.2833, allocations: 4 kB / 1.199 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004969/0.2838, allocations: 171.5 kB / 1.199 GB, free: 15.28 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=11): time 3.917e-06/0.2838, allocations: 3.984 kB / 1.199 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of matching and sorting (n=11): time 0.0008891/0.2847, allocations: 253.6 kB / 1.199 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/0.2848, allocations: 162.2 kB / 1.199 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002439/0.2851, allocations: 228.8 kB / 1.199 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.254e-05/0.2851, allocations: 33.7 kB / 1.199 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001414/0.2852, allocations: 156.3 kB / 1.2 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.831e-05/0.2853, allocations: 27.8 kB / 1.2 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/0.2854, allocations: 49.69 kB / 1.2 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001691/0.2856, allocations: 334.8 kB / 1.2 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000327/0.2859, allocations: 103.9 kB / 1.2 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003519/0.2863, allocations: 170.6 kB / 1.2 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005732/0.2868, allocations: 270.9 kB / 1.201 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.2868, allocations: 0 / 1.201 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008612/0.2877, allocations: 384.6 kB / 1.201 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 6.215e-05/0.2878, allocations: 59.41 kB / 1.201 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.2878, allocations: 8 kB / 1.201 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.2878, allocations: 7.984 kB / 1.201 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001656/0.2879, allocations: 28.14 kB / 1.201 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.288, allocations: 11.92 kB / 1.201 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003809/0.2883, allocations: 67.86 kB / 1.201 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.627e-05/0.2884, allocations: 19.92 kB / 1.201 GB, free: 12.77 MB / 0.8419 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.0001592/0.2885, allocations: 149.8 kB / 1.201 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.83e-05/0.2886, allocations: 31.8 kB / 1.201 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.805e-05/0.2886, allocations: 17.33 kB / 1.201 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.2886, allocations: 4 kB / 1.201 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.2886, allocations: 0 / 1.201 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.2886, allocations: 4 kB / 1.201 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000241/0.2889, allocations: 228.6 kB / 1.202 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2889, allocations: 0 / 1.202 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001409/0.289, allocations: 27.97 kB / 1.202 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.289, allocations: 4 kB / 1.202 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.289, allocations: 4 kB / 1.202 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.289, allocations: 0 / 1.202 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.2891, allocations: 0 / 1.202 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005547/0.2896, allocations: 245.4 kB / 1.202 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.419e-05/0.2896, allocations: 19.84 kB / 1.202 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.879e-05/0.2897, allocations: 3.984 kB / 1.202 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001246/0.2898, allocations: 23.92 kB / 1.202 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.278e-05/0.2899, allocations: 15.97 kB / 1.202 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.215e-05/0.2899, allocations: 8 kB / 1.202 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001482/0.29, allocations: 164.4 kB / 1.202 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1e-07/0.29, allocations: 0 / 1.202 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003004/0.2903, allocations: 51.89 kB / 1.202 GB, free: 11.7 MB / 0.8419 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.0001791/0.2905, allocations: 111.2 kB / 1.202 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000772/0.2913, allocations: 309.5 kB / 1.202 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.2913, allocations: 0 / 1.202 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002848/0.2916, allocations: 81.05 kB / 1.203 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003995/0.292, allocations: 53.42 kB / 1.203 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008682/0.2928, allocations: 398.2 kB / 1.203 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004491/0.2933, allocations: 0.7476 MB / 1.204 GB, free: 9.922 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001228/0.2934, allocations: 41.69 kB / 1.204 GB, free: 9.883 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.742e-05/0.2934, allocations: 19.44 kB / 1.204 GB, free: 9.863 MB / 0.8419 GB Notification: Performance of SimCode: time 3.91e-07/0.2934, allocations: 0 / 1.204 GB, free: 9.863 MB / 0.8419 GB Notification: Performance of Templates: time 0.008033/0.3015, allocations: 3.109 MB / 1.207 GB, free: 6.809 MB / 0.8419 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=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.510184042155743] Failed to read output from testmodel.py, exit status != 0: 0.31069057062268257 0.32564345100000003 0.044628848000000006 Calling exit ...