Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Edge.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.0007921/0.0007921, allocations: 115 kB / 19.7 MB, free: 0.5273 MB / 13.93 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.0008213/0.0008213, allocations: 203.8 kB / 23 MB, free: 3.125 MB / 13.93 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.866/0.866, allocations: 230.6 MB / 256.8 MB, free: 3.449 MB / 202.7 MB " [Timeout remaining time 179] 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.03612/0.03612, allocations: 12.19 MB / 325.4 MB, free: 3.387 MB / 250.7 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.0004776/0.0004776, allocations: 36.89 kB / 384.9 MB, free: 45.85 MB / 298.7 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 1.591/1.591, allocations: 353.8 MB / 0.7794 GB, free: 13.03 MB / 0.5262 GB " [Timeout remaining time 178] 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.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Edge") translateModel(AixLib.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Edge") [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.001426/0.001426, allocations: 127.6 kB / 1.061 GB, free: 9.391 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2192/0.2206, allocations: 134.9 MB / 1.193 GB, free: 2.574 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001388/0.222, allocations: 0.7384 MB / 1.194 GB, free: 1.844 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0009903/0.223, allocations: 1.202 MB / 1.195 GB, free: 0.6289 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.931e-05/0.2231, allocations: 4 kB / 1.195 GB, free: 0.625 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.544e-05/0.2231, allocations: 3.938 kB / 1.195 GB, free: 0.6211 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 6.19e-05/0.2231, allocations: 11.86 kB / 1.195 GB, free: 0.6094 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003848/0.2235, allocations: 134.2 kB / 1.195 GB, free: 492 kB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001479/0.2237, allocations: 115.8 kB / 1.195 GB, free: 376 kB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 8.658e-05/0.2238, allocations: 15.98 kB / 1.195 GB, free: 360 kB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 7.906e-05/0.2238, allocations: 55.89 kB / 1.195 GB, free: 304 kB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 7.658e-05/0.2239, allocations: 43.83 kB / 1.195 GB, free: 260 kB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.866e-05/0.2239, allocations: 8 kB / 1.195 GB, free: 252 kB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 5.595e-05/0.224, allocations: 27.92 kB / 1.195 GB, free: 224 kB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.944e-05/0.224, allocations: 15.97 kB / 1.195 GB, free: 208 kB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 4.989e-05/0.2241, allocations: 39.86 kB / 1.195 GB, free: 168 kB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001401/0.2242, allocations: 115.6 kB / 1.195 GB, free: 52 kB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.2242, allocations: 4 kB / 1.195 GB, free: 48 kB / 0.823 GB Notification: Performance of FrontEnd: time 1.252e-06/0.2242, allocations: 0 / 1.195 GB, free: 48 kB / 0.823 GB Notification: Performance of Transformations before backend: time 5.922e-06/0.2242, allocations: 4 kB / 1.195 GB, free: 44 kB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004599/0.2247, allocations: 337.7 kB / 1.196 GB, free: 15.67 MB / 0.8387 GB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.2247, allocations: 11.98 kB / 1.196 GB, free: 15.66 MB / 0.8387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.251e-05/0.2248, allocations: 12.89 kB / 1.196 GB, free: 15.65 MB / 0.8387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.755e-05/0.2248, allocations: 118 kB / 1.196 GB, free: 15.51 MB / 0.8387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.2248, allocations: 4.375 kB / 1.196 GB, free: 15.51 MB / 0.8387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.838e-05/0.2249, allocations: 8.375 kB / 1.196 GB, free: 15.5 MB / 0.8387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001292/0.225, allocations: 66.16 kB / 1.196 GB, free: 15.43 MB / 0.8387 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.225, allocations: 4.188 kB / 1.196 GB, free: 15.43 MB / 0.8387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.225, allocations: 11.88 kB / 1.196 GB, free: 15.41 MB / 0.8387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.225, allocations: 0 / 1.196 GB, free: 15.41 MB / 0.8387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.345e-05/0.2251, allocations: 39.95 kB / 1.196 GB, free: 15.38 MB / 0.8387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003815/0.2255, allocations: 299.8 kB / 1.196 GB, free: 15.04 MB / 0.8387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/0.2256, allocations: 66.48 kB / 1.196 GB, free: 14.96 MB / 0.8387 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.343e-05/0.2257, allocations: 28.97 kB / 1.196 GB, free: 14.93 MB / 0.8387 GB Notification: Performance of preOpt evalFunc (simulation): time 9.989e-06/0.2257, allocations: 0 / 1.196 GB, free: 14.93 MB / 0.8387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001414/0.2258, allocations: 91.36 kB / 1.197 GB, free: 14.83 MB / 0.8387 GB Notification: Performance of pre-optimization done (n=8): time 8.42e-07/0.2258, allocations: 4 kB / 1.197 GB, free: 14.83 MB / 0.8387 GB Notification: Performance of matching and sorting (n=8): time 0.0002639/0.2261, allocations: 145.5 kB / 1.197 GB, free: 14.68 MB / 0.8387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.454e-05/0.2261, allocations: 59.39 kB / 1.197 GB, free: 14.61 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.595e-05/0.2262, allocations: 117.8 kB / 1.197 GB, free: 14.48 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.2262, allocations: 25.7 kB / 1.197 GB, free: 14.45 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 4.475e-05/0.2262, allocations: 92.09 kB / 1.197 GB, free: 14.36 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 1.633e-05/0.2263, allocations: 23.89 kB / 1.197 GB, free: 14.34 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.645e-05/0.2263, allocations: 37.7 kB / 1.197 GB, free: 14.29 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 6.91e-05/0.2264, allocations: 318.8 kB / 1.197 GB, free: 13.97 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.111e-05/0.2265, allocations: 47.97 kB / 1.197 GB, free: 13.93 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001086/0.2266, allocations: 87.5 kB / 1.197 GB, free: 13.83 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001504/0.2267, allocations: 149.8 kB / 1.198 GB, free: 13.66 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2267, allocations: 0 / 1.198 GB, free: 13.66 MB / 0.8387 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002524/0.227, allocations: 219.1 kB / 1.198 GB, free: 13.43 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 3.309e-05/0.227, allocations: 37.7 kB / 1.198 GB, free: 13.39 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.227, allocations: 0 / 1.198 GB, free: 13.39 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.227, allocations: 4 kB / 1.198 GB, free: 13.39 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.722e-05/0.2271, allocations: 15.92 kB / 1.198 GB, free: 13.37 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.2271, allocations: 64 / 1.198 GB, free: 13.37 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001048/0.2272, allocations: 44.02 kB / 1.198 GB, free: 13.33 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.39e-05/0.2272, allocations: 8 kB / 1.198 GB, free: 13.32 MB / 0.8387 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,edge1.y,edge1.u,$PRE.edge1.u,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.000156/0.2274, allocations: 125.8 kB / 1.198 GB, free: 13.19 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.295e-06/0.2274, allocations: 7.953 kB / 1.198 GB, free: 13.18 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.694e-05/0.2274, allocations: 16.36 kB / 1.198 GB, free: 13.16 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.2274, allocations: 0 / 1.198 GB, free: 13.16 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.2274, allocations: 0 / 1.198 GB, free: 13.16 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.2274, allocations: 3.984 kB / 1.198 GB, free: 13.16 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002855/0.2277, allocations: 353.4 kB / 1.198 GB, free: 12.76 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.2277, allocations: 7.984 kB / 1.198 GB, free: 12.75 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.441e-05/0.2277, allocations: 4 kB / 1.198 GB, free: 12.75 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.2277, allocations: 0 / 1.198 GB, free: 12.75 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.2277, allocations: 3.984 kB / 1.198 GB, free: 12.75 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.2277, allocations: 4 kB / 1.198 GB, free: 12.74 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2277, allocations: 0 / 1.198 GB, free: 12.74 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001522/0.2279, allocations: 219.3 kB / 1.199 GB, free: 12.51 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 6.232e-06/0.2279, allocations: 4 kB / 1.199 GB, free: 12.51 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.185e-05/0.2279, allocations: 0 / 1.199 GB, free: 12.51 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.346e-05/0.228, allocations: 7.984 kB / 1.199 GB, free: 12.5 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.654e-05/0.228, allocations: 11.98 kB / 1.199 GB, free: 12.49 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.922e-06/0.228, allocations: 3.938 kB / 1.199 GB, free: 12.48 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 3.685e-05/0.228, allocations: 95.27 kB / 1.199 GB, free: 12.39 MB / 0.8387 GB Notification: Performance of sort global known variables: time 6e-08/0.228, allocations: 0 / 1.199 GB, free: 12.39 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0001722/0.2282, allocations: 27.94 kB / 1.199 GB, free: 12.36 MB / 0.8387 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 (edge1.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.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.0001013/0.2283, allocations: 95.25 kB / 1.199 GB, free: 12.26 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0002293/0.2285, allocations: 167.2 kB / 1.199 GB, free: 12.09 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2285, allocations: 256 / 1.199 GB, free: 12.09 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 6.322e-05/0.2286, allocations: 44.38 kB / 1.199 GB, free: 12.04 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001894/0.2288, allocations: 12.61 kB / 1.199 GB, free: 12.03 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002761/0.2291, allocations: 184.6 kB / 1.199 GB, free: 11.82 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001617/0.2292, allocations: 0.6846 MB / 1.2 GB, free: 11.11 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.497e-05/0.2293, allocations: 19.42 kB / 1.2 GB, free: 11.09 MB / 0.8387 GB Notification: Performance of SimCode: time 4.51e-07/0.2293, allocations: 4 kB / 1.2 GB, free: 11.08 MB / 0.8387 GB Notification: Performance of Templates: time 0.001976/0.2312, allocations: 1.256 MB / 1.201 GB, free: 9.844 MB / 0.8387 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Edge.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.599042125046253] Failed to read output from testmodel.py, exit status != 0: 0.2363287042826414 0.24483728699999996 0.018995791 Calling exit ...