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.0009444/0.0009444, allocations: 100.4 kB / 19.71 MB, free: 444 kB / 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.001318/0.001318, allocations: 210.4 kB / 23 MB, free: 2.973 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 1.036/1.036, allocations: 230.6 MB / 256.8 MB, free: 9.59 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.03878/0.03878, allocations: 12.2 MB / 325.4 MB, free: 6.168 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.0004552/0.0004552, allocations: 23.97 kB / 384.9 MB, free: 10.59 MB / 314.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.838/1.838, allocations: 353.8 MB / 0.7794 GB, free: 4.551 MB / 0.5105 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.001375/0.001375, allocations: 114.4 kB / 1.061 GB, free: 24.52 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3028/0.3042, allocations: 134.9 MB / 1.193 GB, free: 6.996 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001792/0.306, allocations: 0.7219 MB / 1.194 GB, free: 6.277 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001099/0.3071, allocations: 1.18 MB / 1.195 GB, free: 5.086 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.66e-05/0.3071, allocations: 0 / 1.195 GB, free: 5.086 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.147e-05/0.3072, allocations: 3.938 kB / 1.195 GB, free: 5.082 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 6.386e-05/0.3072, allocations: 23.86 kB / 1.195 GB, free: 5.059 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004051/0.3076, allocations: 127.8 kB / 1.195 GB, free: 4.938 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001439/0.3078, allocations: 123.7 kB / 1.195 GB, free: 4.816 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 9.298e-05/0.3079, allocations: 11.98 kB / 1.195 GB, free: 4.805 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 8.642e-05/0.308, allocations: 39.92 kB / 1.195 GB, free: 4.766 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 8.353e-05/0.308, allocations: 47.8 kB / 1.195 GB, free: 4.719 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.999e-05/0.3081, allocations: 12 kB / 1.195 GB, free: 4.707 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 5.56e-05/0.3081, allocations: 23.94 kB / 1.195 GB, free: 4.684 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.371e-05/0.3081, allocations: 11.98 kB / 1.195 GB, free: 4.672 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 5.719e-05/0.3082, allocations: 39.84 kB / 1.195 GB, free: 4.633 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001547/0.3084, allocations: 111.7 kB / 1.195 GB, free: 4.523 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.3084, allocations: 0 / 1.195 GB, free: 4.523 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.154e-06/0.3084, allocations: 3.938 kB / 1.195 GB, free: 4.52 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.3084, allocations: 0 / 1.195 GB, free: 4.52 MB / 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.0004464/0.3088, allocations: 339.7 kB / 1.196 GB, free: 4.148 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.3088, allocations: 12.03 kB / 1.196 GB, free: 4.137 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.923e-05/0.3089, allocations: 8.891 kB / 1.196 GB, free: 4.129 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.275e-05/0.309, allocations: 110.5 kB / 1.196 GB, free: 3.996 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.309, allocations: 16.36 kB / 1.196 GB, free: 3.98 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.847e-05/0.309, allocations: 8.375 kB / 1.196 GB, free: 3.973 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001213/0.3091, allocations: 62.17 kB / 1.196 GB, free: 3.906 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.495e-06/0.3091, allocations: 192 / 1.196 GB, free: 3.906 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.3091, allocations: 7.922 kB / 1.196 GB, free: 3.898 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.451e-06/0.3091, allocations: 4 kB / 1.196 GB, free: 3.895 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.766e-05/0.3092, allocations: 35.97 kB / 1.196 GB, free: 3.859 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003788/0.3096, allocations: 260.4 kB / 1.196 GB, free: 3.574 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001265/0.3097, allocations: 62.53 kB / 1.196 GB, free: 3.504 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.752e-05/0.3098, allocations: 36.91 kB / 1.196 GB, free: 3.465 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.938e-06/0.3098, allocations: 0 / 1.196 GB, free: 3.465 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001619/0.31, allocations: 87.36 kB / 1.196 GB, free: 3.367 MB / 0.823 GB Notification: Performance of pre-optimization done (n=8): time 7.71e-07/0.31, allocations: 0 / 1.196 GB, free: 3.367 MB / 0.823 GB Notification: Performance of matching and sorting (n=8): time 0.0002941/0.3103, allocations: 149.7 kB / 1.196 GB, free: 3.215 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/0.3103, allocations: 59.41 kB / 1.197 GB, free: 3.145 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.783e-05/0.3104, allocations: 117.8 kB / 1.197 GB, free: 3.02 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.3104, allocations: 29.7 kB / 1.197 GB, free: 2.984 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.313e-05/0.3105, allocations: 96.08 kB / 1.197 GB, free: 2.887 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.02e-05/0.3105, allocations: 19.97 kB / 1.197 GB, free: 2.867 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.975e-05/0.3105, allocations: 37.7 kB / 1.197 GB, free: 2.824 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.3106, allocations: 318.8 kB / 1.197 GB, free: 2.504 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001179/0.3108, allocations: 89.66 kB / 1.197 GB, free: 2.41 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001198/0.3109, allocations: 113.9 kB / 1.197 GB, free: 2.277 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001641/0.311, allocations: 137.9 kB / 1.197 GB, free: 2.121 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.311, allocations: 0 / 1.197 GB, free: 2.121 MB / 0.823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002862/0.3113, allocations: 252.8 kB / 1.198 GB, free: 1.855 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.422e-05/0.3114, allocations: 33.7 kB / 1.198 GB, free: 1.816 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.3114, allocations: 4 kB / 1.198 GB, free: 1.812 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.3114, allocations: 0 / 1.198 GB, free: 1.812 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.428e-05/0.3114, allocations: 15.92 kB / 1.198 GB, free: 1.797 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.3115, allocations: 0 / 1.198 GB, free: 1.797 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.3116, allocations: 48.02 kB / 1.198 GB, free: 1.75 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.528e-05/0.3116, allocations: 4 kB / 1.198 GB, free: 1.746 MB / 0.823 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 7.909e-05/0.3117, allocations: 127.3 kB / 1.198 GB, free: 1.613 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.047e-06/0.3117, allocations: 7.953 kB / 1.198 GB, free: 1.605 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.717e-05/0.3117, allocations: 12.36 kB / 1.198 GB, free: 1.59 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.3117, allocations: 3.938 kB / 1.198 GB, free: 1.586 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3117, allocations: 4 kB / 1.198 GB, free: 1.582 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.3117, allocations: 0 / 1.198 GB, free: 1.582 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002981/0.312, allocations: 326 kB / 1.198 GB, free: 1.227 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.312, allocations: 0 / 1.198 GB, free: 1.227 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.705e-05/0.312, allocations: 12.05 kB / 1.198 GB, free: 1.215 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-06/0.312, allocations: 0 / 1.198 GB, free: 1.215 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.749e-06/0.312, allocations: 4 kB / 1.198 GB, free: 1.211 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.312, allocations: 0 / 1.198 GB, free: 1.211 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.312, allocations: 0 / 1.198 GB, free: 1.211 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000183/0.3122, allocations: 219.3 kB / 1.198 GB, free: 0.9805 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.382e-06/0.3122, allocations: 0 / 1.198 GB, free: 0.9805 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/0.3122, allocations: 8 kB / 1.198 GB, free: 0.9727 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.06e-05/0.3123, allocations: 7.984 kB / 1.198 GB, free: 0.9648 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.188e-05/0.3123, allocations: 7.984 kB / 1.198 GB, free: 0.957 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-06/0.3123, allocations: 4 kB / 1.198 GB, free: 0.9531 MB / 0.823 GB Notification: Performance of sorting global known variables: time 4.177e-05/0.3124, allocations: 91.81 kB / 1.199 GB, free: 0.8633 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.3124, allocations: 0 / 1.199 GB, free: 0.8633 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001747/0.3125, allocations: 31.88 kB / 1.199 GB, free: 0.832 MB / 0.823 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.0001423/0.3127, allocations: 103.5 kB / 1.199 GB, free: 0.7227 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002697/0.313, allocations: 200.9 kB / 1.199 GB, free: 0.5078 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.313, allocations: 0 / 1.199 GB, free: 0.5078 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 7.533e-05/0.313, allocations: 35.91 kB / 1.199 GB, free: 484 kB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002158/0.3133, allocations: 13.88 kB / 1.199 GB, free: 472 kB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003674/0.3136, allocations: 188.7 kB / 1.199 GB, free: 248 kB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.883e-05/0.3137, allocations: 75.59 kB / 1.199 GB, free: 152 kB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.896e-05/0.3137, allocations: 11.44 kB / 1.199 GB, free: 140 kB / 0.823 GB Notification: Performance of SimCode: time 3.91e-07/0.3137, allocations: 0 / 1.199 GB, free: 140 kB / 0.823 GB Notification: Performance of Templates: time 0.00255/0.3163, allocations: 1.291 MB / 1.2 GB, free: 14.86 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: 7.722516640089452] Failed to read output from testmodel.py, exit status != 0: 0.32157941348850727 0.33388095700000003 0.022730442 Calling exit ...