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.001645/0.001645, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001936/0.001936, allocations: 217 kB / 22.25 MB, free: 4.855 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.534/1.534, allocations: 230.6 MB / 256 MB, free: 7.801 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.06478/0.06478, allocations: 12.18 MB / 324.6 MB, free: 7.09 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.00108/0.00108, allocations: 31.53 kB / 384.1 MB, free: 47.5 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 3.038/3.038, allocations: 353.9 MB / 0.7787 GB, free: 1.656 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.003439/0.003439, allocations: 128.3 kB / 1.06 GB, free: 12.61 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.318/0.3215, allocations: 134.9 MB / 1.192 GB, free: 5.824 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002767/0.3242, allocations: 0.9456 MB / 1.193 GB, free: 4.883 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 0.002318/0.3265, allocations: 1.367 MB / 1.194 GB, free: 3.504 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.301e-05/0.3266, allocations: 0 / 1.194 GB, free: 3.504 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 0.0001415/0.3268, allocations: 19.73 kB / 1.194 GB, free: 3.484 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 0.0001156/0.3269, allocations: 43.66 kB / 1.194 GB, free: 3.441 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008544/0.3277, allocations: 282 kB / 1.195 GB, free: 3.172 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.0005054/0.3282, allocations: 379.2 kB / 1.195 GB, free: 2.801 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001768/0.3284, allocations: 45.73 kB / 1.195 GB, free: 2.754 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002336/0.3287, allocations: 163.6 kB / 1.195 GB, free: 2.594 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002054/0.3289, allocations: 115.6 kB / 1.195 GB, free: 2.48 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 6.613e-05/0.3289, allocations: 36 kB / 1.195 GB, free: 2.445 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001371/0.3291, allocations: 51.98 kB / 1.196 GB, free: 2.395 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 9.837e-05/0.3292, allocations: 59.72 kB / 1.196 GB, free: 2.336 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 0.0001552/0.3293, allocations: 119.5 kB / 1.196 GB, free: 2.219 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.0004813/0.3298, allocations: 402.5 kB / 1.196 GB, free: 1.824 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.3298, allocations: 0 / 1.196 GB, free: 1.824 MB / 0.8263 GB Notification: Performance of FrontEnd: time 1.352e-06/0.3298, allocations: 0 / 1.196 GB, free: 1.824 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 7.694e-06/0.3298, allocations: 4 kB / 1.196 GB, free: 1.82 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.001045/0.3309, allocations: 0.555 MB / 1.197 GB, free: 1.219 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.3309, allocations: 11.98 kB / 1.197 GB, free: 1.207 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000366/0.3313, allocations: 64.72 kB / 1.197 GB, free: 1.145 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009578/0.3322, allocations: 309.1 kB / 1.197 GB, free: 0.8203 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.159e-05/0.3323, allocations: 20.38 kB / 1.197 GB, free: 0.8008 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.776e-05/0.3323, allocations: 20.38 kB / 1.197 GB, free: 0.7812 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004532/0.3328, allocations: 198.4 kB / 1.197 GB, free: 0.5664 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.3328, allocations: 3.938 kB / 1.197 GB, free: 0.5625 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.282e-05/0.3328, allocations: 7.984 kB / 1.197 GB, free: 0.5547 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.3328, allocations: 8 kB / 1.197 GB, free: 0.5469 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004866/0.3333, allocations: 139.8 kB / 1.197 GB, free: 420 kB / 0.8263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001139/0.3344, allocations: 0.782 MB / 1.198 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003388/0.3348, allocations: 148.9 kB / 1.198 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002394/0.335, allocations: 84.3 kB / 1.198 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.611e-05/0.335, allocations: 4 kB / 1.198 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004532/0.3355, allocations: 177.9 kB / 1.199 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=11): time 1.533e-06/0.3355, allocations: 3.938 kB / 1.199 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of matching and sorting (n=11): time 0.0008791/0.3364, allocations: 265.6 kB / 1.199 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/0.3365, allocations: 158.2 kB / 1.199 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002345/0.3367, allocations: 224.9 kB / 1.199 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.386e-05/0.3367, allocations: 33.7 kB / 1.199 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001254/0.3369, allocations: 152.6 kB / 1.199 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.396e-05/0.3369, allocations: 27.81 kB / 1.199 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001191/0.337, allocations: 61.67 kB / 1.199 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.3372, allocations: 326.8 kB / 1.2 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000376/0.3376, allocations: 163.3 kB / 1.2 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004314/0.338, allocations: 284.1 kB / 1.2 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005991/0.3386, allocations: 278.9 kB / 1.2 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/0.3386, allocations: 3.938 kB / 1.2 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0009206/0.3395, allocations: 444.3 kB / 1.201 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 6.2e-05/0.3396, allocations: 71.42 kB / 1.201 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.3396, allocations: 4 kB / 1.201 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/0.3396, allocations: 7.984 kB / 1.201 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001636/0.3398, allocations: 23.97 kB / 1.201 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.3398, allocations: 4 kB / 1.201 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000411/0.3402, allocations: 67.86 kB / 1.201 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.029e-05/0.3402, allocations: 19.98 kB / 1.201 GB, free: 12.29 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.0001638/0.3404, allocations: 151.1 kB / 1.201 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.773e-05/0.3404, allocations: 27.84 kB / 1.201 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.894e-05/0.3405, allocations: 17.34 kB / 1.201 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/0.3405, allocations: 4 kB / 1.201 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.3405, allocations: 0 / 1.201 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/0.3405, allocations: 7.984 kB / 1.201 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002124/0.3407, allocations: 177.2 kB / 1.201 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.3407, allocations: 4 kB / 1.201 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001438/0.3409, allocations: 35.91 kB / 1.201 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.3409, allocations: 0 / 1.201 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/0.3409, allocations: 7.984 kB / 1.201 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.3409, allocations: 0 / 1.201 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3409, allocations: 3.938 kB / 1.201 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005539/0.3414, allocations: 240.2 kB / 1.202 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.745e-05/0.3415, allocations: 27.83 kB / 1.202 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.381e-05/0.3415, allocations: 0 / 1.202 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/0.3416, allocations: 19.97 kB / 1.202 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.203e-05/0.3417, allocations: 11.98 kB / 1.202 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.97e-05/0.3417, allocations: 8 kB / 1.202 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001559/0.3419, allocations: 160.5 kB / 1.202 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3419, allocations: 7.938 kB / 1.202 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002967/0.3422, allocations: 51.89 kB / 1.202 GB, free: 11.27 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.0001642/0.3423, allocations: 103.2 kB / 1.202 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007835/0.3431, allocations: 382 kB / 1.202 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3431, allocations: 0 / 1.202 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000264/0.3434, allocations: 71.88 kB / 1.202 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003613/0.3438, allocations: 56.83 kB / 1.203 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007075/0.3445, allocations: 402.5 kB / 1.203 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001413/0.3446, allocations: 132.8 kB / 1.203 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001209/0.3447, allocations: 41.61 kB / 1.203 GB, free: 10 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.263e-05/0.3448, allocations: 19.81 kB / 1.203 GB, free: 9.98 MB / 0.8419 GB Notification: Performance of SimCode: time 2.81e-07/0.3448, allocations: 0 / 1.203 GB, free: 9.98 MB / 0.8419 GB Notification: Performance of Templates: time 0.007592/0.3524, allocations: 3.505 MB / 1.207 GB, free: 6.566 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: 9.11778761073947] Failed to read output from testmodel.py, exit status != 0: 0.36043667793273926 0.374459793 0.041620355000000005 Calling exit ...