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.001761/0.001761, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002217/0.002217, allocations: 216.1 kB / 22.25 MB, free: 5.078 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.602/1.602, allocations: 230.6 MB / 256 MB, free: 8.035 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.06404/0.06404, allocations: 12.19 MB / 324.6 MB, free: 7.297 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.0007786/0.0007786, allocations: 30.8 kB / 384.1 MB, free: 46.65 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.524/2.524, allocations: 353.8 MB / 0.7787 GB, free: 1.027 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.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.00355/0.00355, allocations: 118.5 kB / 1.061 GB, free: 13.02 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2662/0.2697, allocations: 134.9 MB / 1.192 GB, free: 6.195 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.Edge): time 0.002478/0.2722, allocations: 0.7391 MB / 1.193 GB, free: 5.461 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 0.001774/0.274, allocations: 1.203 MB / 1.194 GB, free: 4.246 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.723e-05/0.274, allocations: 4 kB / 1.194 GB, free: 4.242 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 2.828e-05/0.2741, allocations: 3.938 kB / 1.194 GB, free: 4.238 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 7.648e-05/0.2741, allocations: 7.875 kB / 1.194 GB, free: 4.23 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005286/0.2747, allocations: 138.8 kB / 1.194 GB, free: 4.102 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.0001956/0.2749, allocations: 115.8 kB / 1.194 GB, free: 3.988 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.275, allocations: 16 kB / 1.194 GB, free: 3.973 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 9.978e-05/0.2751, allocations: 47.89 kB / 1.194 GB, free: 3.926 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001095/0.2752, allocations: 51.81 kB / 1.195 GB, free: 3.875 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 2.351e-05/0.2752, allocations: 12 kB / 1.195 GB, free: 3.863 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 7.195e-05/0.2753, allocations: 20 kB / 1.195 GB, free: 3.844 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 2.616e-05/0.2753, allocations: 15.92 kB / 1.195 GB, free: 3.828 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 6.995e-05/0.2754, allocations: 43.83 kB / 1.195 GB, free: 3.785 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.0001915/0.2756, allocations: 119.6 kB / 1.195 GB, free: 3.668 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.2756, allocations: 0 / 1.195 GB, free: 3.668 MB / 0.8263 GB Notification: Performance of FrontEnd: time 1.482e-06/0.2756, allocations: 0 / 1.195 GB, free: 3.668 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.2756, allocations: 0 / 1.195 GB, free: 3.668 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006224/0.2762, allocations: 331.8 kB / 1.195 GB, free: 3.305 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.2762, allocations: 15.98 kB / 1.195 GB, free: 3.289 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.643e-05/0.2763, allocations: 12.89 kB / 1.195 GB, free: 3.277 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/0.2764, allocations: 114.5 kB / 1.195 GB, free: 3.141 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.2764, allocations: 8.359 kB / 1.195 GB, free: 3.133 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.813e-05/0.2765, allocations: 8.312 kB / 1.195 GB, free: 3.125 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001979/0.2767, allocations: 66.22 kB / 1.195 GB, free: 3.055 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.2767, allocations: 192 / 1.195 GB, free: 3.055 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.2767, allocations: 7.922 kB / 1.195 GB, free: 3.047 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.2767, allocations: 0 / 1.195 GB, free: 3.047 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001745/0.2769, allocations: 43.97 kB / 1.195 GB, free: 3.004 MB / 0.8263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005255/0.2774, allocations: 303.8 kB / 1.196 GB, free: 2.664 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001894/0.2776, allocations: 54.55 kB / 1.196 GB, free: 2.602 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.2777, allocations: 36.95 kB / 1.196 GB, free: 2.562 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 1.384e-05/0.2777, allocations: 11.92 kB / 1.196 GB, free: 2.551 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002383/0.2779, allocations: 79.38 kB / 1.196 GB, free: 2.461 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.2779, allocations: 0 / 1.196 GB, free: 2.461 MB / 0.8263 GB Notification: Performance of matching and sorting (n=8): time 0.0004433/0.2784, allocations: 153.6 kB / 1.196 GB, free: 2.305 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/0.2784, allocations: 51.41 kB / 1.196 GB, free: 2.242 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.2785, allocations: 125.8 kB / 1.196 GB, free: 2.109 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 2.765e-05/0.2786, allocations: 29.7 kB / 1.196 GB, free: 2.074 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 6.833e-05/0.2786, allocations: 96.08 kB / 1.196 GB, free: 1.977 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 2.119e-05/0.2787, allocations: 15.91 kB / 1.196 GB, free: 1.961 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.195e-05/0.2787, allocations: 37.7 kB / 1.196 GB, free: 1.918 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.2789, allocations: 322.8 kB / 1.197 GB, free: 1.594 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001643/0.279, allocations: 55.95 kB / 1.197 GB, free: 1.539 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001752/0.2792, allocations: 80.25 kB / 1.197 GB, free: 1.445 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000288/0.2795, allocations: 153.8 kB / 1.197 GB, free: 1.273 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.2795, allocations: 0 / 1.197 GB, free: 1.273 MB / 0.8263 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004419/0.2799, allocations: 211.2 kB / 1.197 GB, free: 1.055 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 4.446e-05/0.28, allocations: 37.83 kB / 1.197 GB, free: 1.012 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.28, allocations: 0 / 1.197 GB, free: 1.012 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.28, allocations: 4 kB / 1.197 GB, free: 1.008 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.688e-05/0.2801, allocations: 15.92 kB / 1.197 GB, free: 0.9922 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.2801, allocations: 320 / 1.197 GB, free: 0.9922 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002017/0.2803, allocations: 39.89 kB / 1.197 GB, free: 0.9531 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.219e-05/0.2803, allocations: 8 kB / 1.197 GB, free: 0.9453 MB / 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,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.0001176/0.2805, allocations: 131.8 kB / 1.197 GB, free: 0.8086 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.329e-05/0.2805, allocations: 3.953 kB / 1.197 GB, free: 0.8047 MB / 0.8263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.421e-05/0.2805, allocations: 12.38 kB / 1.197 GB, free: 0.7891 MB / 0.8263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.2805, allocations: 0 / 1.197 GB, free: 0.7891 MB / 0.8263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.2805, allocations: 0 / 1.197 GB, free: 0.7891 MB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.2805, allocations: 0 / 1.197 GB, free: 0.7891 MB / 0.8263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005125/0.281, allocations: 357.4 kB / 1.198 GB, free: 400 kB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.281, allocations: 4 kB / 1.198 GB, free: 396 kB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.553e-05/0.2811, allocations: 11.98 kB / 1.198 GB, free: 384 kB / 0.8263 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.2811, allocations: 64 / 1.198 GB, free: 384 kB / 0.8263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.2811, allocations: 8 kB / 1.198 GB, free: 376 kB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2811, allocations: 3.938 kB / 1.198 GB, free: 372 kB / 0.8263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2811, allocations: 0 / 1.198 GB, free: 372 kB / 0.8263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003214/0.2814, allocations: 211.3 kB / 1.198 GB, free: 144 kB / 0.8263 GB Notification: Performance of postOpt removeConstants (simulation): time 1.068e-05/0.2814, allocations: 4 kB / 1.198 GB, free: 140 kB / 0.8263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.974e-05/0.2814, allocations: 4 kB / 1.198 GB, free: 136 kB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.458e-05/0.2815, allocations: 7.984 kB / 1.198 GB, free: 128 kB / 0.8263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.581e-05/0.2816, allocations: 7.984 kB / 1.198 GB, free: 120 kB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.2816, allocations: 3.938 kB / 1.198 GB, free: 116 kB / 0.8263 GB Notification: Performance of sorting global known variables: time 5.497e-05/0.2816, allocations: 95.2 kB / 1.198 GB, free: 20 kB / 0.8263 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2816, allocations: 4 kB / 1.198 GB, free: 16 kB / 0.8263 GB Notification: Performance of remove unused functions: time 0.0002865/0.2819, allocations: 27.98 kB / 1.198 GB, free: 15.98 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 (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.0001525/0.2821, allocations: 104.8 kB / 1.198 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003973/0.2825, allocations: 159.3 kB / 1.198 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2825, allocations: 0 / 1.198 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001237/0.2826, allocations: 35.91 kB / 1.198 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002871/0.2829, allocations: 20.23 kB / 1.198 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003933/0.2833, allocations: 162.7 kB / 1.198 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003262/0.2836, allocations: 0.6885 MB / 1.199 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 3.117e-05/0.2836, allocations: 4 kB / 1.199 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.949e-05/0.2837, allocations: 11.44 kB / 1.199 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of SimCode: time 3.1e-07/0.2837, allocations: 0 / 1.199 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of Templates: time 0.004579/0.2883, allocations: 1.484 MB / 1.201 GB, free: 13.28 MB / 0.8419 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: 8.175891533493996] Failed to read output from testmodel.py, exit status != 0: 0.2964078225195408 0.311622222 0.032795874 Calling exit ...