Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.FallingEdge.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.00161/0.00161, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002049/0.002049, allocations: 213.5 kB / 22.24 MB, free: 5.262 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.759/1.759, allocations: 230.6 MB / 256 MB, free: 7.781 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.09075/0.09075, allocations: 12.18 MB / 324.6 MB, free: 7.16 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.0007925/0.0007925, allocations: 29.11 kB / 384.1 MB, free: 47.27 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.501/2.501, allocations: 353.9 MB / 0.7787 GB, free: 1.582 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.Logical.Validation.FallingEdge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.FallingEdge") translateModel(AixLib.Controls.OBC.CDL.Logical.Validation.FallingEdge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.FallingEdge") [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.003478/0.003478, allocations: 124.1 kB / 1.06 GB, free: 12.57 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3342/0.3376, allocations: 134.9 MB / 1.192 GB, free: 5.773 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001999/0.3396, allocations: 0.7207 MB / 1.193 GB, free: 5.055 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 0.001727/0.3414, allocations: 1.184 MB / 1.194 GB, free: 3.859 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.216e-05/0.3414, allocations: 0 / 1.194 GB, free: 3.859 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 3.274e-05/0.3414, allocations: 3.938 kB / 1.194 GB, free: 3.855 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 8.034e-05/0.3415, allocations: 19.86 kB / 1.194 GB, free: 3.836 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.000491/0.342, allocations: 126.7 kB / 1.194 GB, free: 3.715 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.0001879/0.3422, allocations: 115.8 kB / 1.194 GB, free: 3.602 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 9.532e-05/0.3423, allocations: 11.98 kB / 1.194 GB, free: 3.59 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001097/0.3424, allocations: 59.89 kB / 1.194 GB, free: 3.531 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 9.723e-05/0.3425, allocations: 35.83 kB / 1.194 GB, free: 3.496 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 3.005e-05/0.3425, allocations: 12 kB / 1.194 GB, free: 3.484 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 7.28e-05/0.3426, allocations: 23.92 kB / 1.194 GB, free: 3.461 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 2.836e-05/0.3426, allocations: 15.92 kB / 1.194 GB, free: 3.445 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 6.828e-05/0.3427, allocations: 43.84 kB / 1.194 GB, free: 3.402 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.0001959/0.3429, allocations: 115.6 kB / 1.195 GB, free: 3.289 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3429, allocations: 0 / 1.195 GB, free: 3.289 MB / 0.8263 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3429, allocations: 0 / 1.195 GB, free: 3.289 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.3429, allocations: 0 / 1.195 GB, free: 3.289 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006201/0.3435, allocations: 345.8 kB / 1.195 GB, free: 2.914 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.3436, allocations: 15.98 kB / 1.195 GB, free: 2.898 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.272e-05/0.3436, allocations: 8.891 kB / 1.195 GB, free: 2.891 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.3437, allocations: 114.4 kB / 1.195 GB, free: 2.754 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.3438, allocations: 8.312 kB / 1.195 GB, free: 2.746 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.994e-05/0.3438, allocations: 20.34 kB / 1.195 GB, free: 2.727 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002031/0.344, allocations: 62.17 kB / 1.195 GB, free: 2.66 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.344, allocations: 4.188 kB / 1.195 GB, free: 2.656 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.344, allocations: 7.922 kB / 1.195 GB, free: 2.648 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.344, allocations: 0 / 1.195 GB, free: 2.648 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001911/0.3442, allocations: 47.95 kB / 1.195 GB, free: 2.602 MB / 0.8263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000484/0.3447, allocations: 256.4 kB / 1.195 GB, free: 2.32 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002163/0.3449, allocations: 62.55 kB / 1.196 GB, free: 2.25 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/0.345, allocations: 28.95 kB / 1.196 GB, free: 2.219 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 9.548e-06/0.345, allocations: 0 / 1.196 GB, free: 2.219 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002652/0.3453, allocations: 87.36 kB / 1.196 GB, free: 2.121 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=8): time 1.433e-06/0.3453, allocations: 0 / 1.196 GB, free: 2.121 MB / 0.8263 GB Notification: Performance of matching and sorting (n=8): time 0.0004861/0.3458, allocations: 149.6 kB / 1.196 GB, free: 1.969 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.706e-05/0.3458, allocations: 55.41 kB / 1.196 GB, free: 1.902 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/0.3459, allocations: 124.6 kB / 1.196 GB, free: 1.773 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 3.489e-05/0.346, allocations: 29.7 kB / 1.196 GB, free: 1.738 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 6.97e-05/0.346, allocations: 88.14 kB / 1.196 GB, free: 1.648 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 2.784e-05/0.3461, allocations: 23.84 kB / 1.196 GB, free: 1.625 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.813e-05/0.3462, allocations: 41.69 kB / 1.196 GB, free: 1.578 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.3463, allocations: 314.8 kB / 1.196 GB, free: 1.262 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001951/0.3465, allocations: 85.66 kB / 1.196 GB, free: 1.172 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002143/0.3467, allocations: 118 kB / 1.197 GB, free: 1.035 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002987/0.347, allocations: 149.8 kB / 1.197 GB, free: 0.8672 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.347, allocations: 3.938 kB / 1.197 GB, free: 0.8633 MB / 0.8263 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004907/0.3475, allocations: 237.2 kB / 1.197 GB, free: 0.6133 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 4.776e-05/0.3475, allocations: 41.69 kB / 1.197 GB, free: 0.5664 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.3476, allocations: 7.984 kB / 1.197 GB, free: 0.5586 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.3476, allocations: 3.938 kB / 1.197 GB, free: 0.5547 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.197e-05/0.3477, allocations: 16.06 kB / 1.197 GB, free: 0.5391 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.3477, allocations: 3.984 kB / 1.197 GB, free: 0.5352 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002114/0.3479, allocations: 31.92 kB / 1.197 GB, free: 0.5039 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.594e-05/0.3479, allocations: 15.98 kB / 1.197 GB, free: 500 kB / 0.8263 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,falEdg.not_u,$PRE.falEdg.not_u,falEdg.y,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.0001087/0.348, allocations: 125.7 kB / 1.197 GB, free: 364 kB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.767e-05/0.348, allocations: 7.953 kB / 1.197 GB, free: 356 kB / 0.8263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.934e-05/0.3481, allocations: 8.375 kB / 1.197 GB, free: 344 kB / 0.8263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.3481, allocations: 4 kB / 1.197 GB, free: 340 kB / 0.8263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.3481, allocations: 4 kB / 1.197 GB, free: 336 kB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.3481, allocations: 64 / 1.197 GB, free: 336 kB / 0.8263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005028/0.3486, allocations: 322 kB / 1.198 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.3486, allocations: 3.984 kB / 1.198 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.643e-05/0.3487, allocations: 8 kB / 1.198 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.3487, allocations: 0 / 1.198 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.3487, allocations: 7.984 kB / 1.198 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3487, allocations: 0 / 1.198 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3487, allocations: 4 kB / 1.198 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000323/0.349, allocations: 211.3 kB / 1.198 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 1.141e-05/0.349, allocations: 3.953 kB / 1.198 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.239e-05/0.349, allocations: 8 kB / 1.198 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.085e-05/0.3491, allocations: 7.984 kB / 1.198 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.505e-05/0.3492, allocations: 3.984 kB / 1.198 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.308e-06/0.3492, allocations: 4 kB / 1.198 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.821e-05/0.3492, allocations: 95.27 kB / 1.198 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of sort global known variables: time 9e-08/0.3492, allocations: 4 kB / 1.198 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002695/0.3495, allocations: 20 kB / 1.198 GB, free: 15.59 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (falEdg.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,falEdg.not_u,triggeredSampler.y) * Number of discrete states: 1 (falEdg.not_u) * 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 0.0001554/0.3497, allocations: 106.1 kB / 1.198 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004104/0.3501, allocations: 189 kB / 1.198 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3501, allocations: 0 / 1.198 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001359/0.3502, allocations: 44.16 kB / 1.198 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002973/0.3505, allocations: 17.8 kB / 1.198 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004105/0.3509, allocations: 166.5 kB / 1.198 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.966e-05/0.351, allocations: 75.94 kB / 1.198 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 3.711e-05/0.351, allocations: 7.984 kB / 1.198 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.427e-05/0.3511, allocations: 15.44 kB / 1.199 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of SimCode: time 3.41e-07/0.3511, allocations: 0 / 1.199 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of Templates: time 0.004956/0.356, allocations: 1.601 MB / 1.2 GB, free: 13.35 MB / 0.8419 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & ./AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.FallingEdge -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.761490814387798] Failed to read output from testmodel.py, exit status != 0: 0.3661281019449234 0.38069306399999997 0.034574739 Calling exit ...