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.001502/0.001502, allocations: 100.4 kB / 19.7 MB, free: 452 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.001136/0.001136, allocations: 212.2 kB / 23 MB, free: 2.977 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.085/1.085, allocations: 230.6 MB / 256.8 MB, free: 9.586 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.04089/0.04089, allocations: 12.19 MB / 325.4 MB, free: 6.07 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.0006422/0.0006422, allocations: 27.95 kB / 384.8 MB, free: 10.5 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.928/1.928, allocations: 353.8 MB / 0.7794 GB, free: 4.523 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.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.0015/0.0015, allocations: 122.7 kB / 1.061 GB, free: 24.44 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2572/0.2587, allocations: 134.9 MB / 1.193 GB, free: 6.949 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001779/0.2605, allocations: 0.7206 MB / 1.194 GB, free: 6.23 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001369/0.2618, allocations: 1.184 MB / 1.195 GB, free: 5.035 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.539e-05/0.2619, allocations: 0 / 1.195 GB, free: 5.035 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 4.084e-05/0.262, allocations: 7.875 kB / 1.195 GB, free: 5.027 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 8.608e-05/0.262, allocations: 15.92 kB / 1.195 GB, free: 5.012 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004838/0.2625, allocations: 132.1 kB / 1.195 GB, free: 4.887 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001783/0.2627, allocations: 123.7 kB / 1.195 GB, free: 4.766 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.2628, allocations: 8 kB / 1.195 GB, free: 4.758 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.2629, allocations: 47.84 kB / 1.195 GB, free: 4.711 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 8.919e-05/0.263, allocations: 39.88 kB / 1.195 GB, free: 4.672 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.112e-05/0.263, allocations: 12 kB / 1.195 GB, free: 4.66 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 6.405e-05/0.2631, allocations: 23.98 kB / 1.195 GB, free: 4.637 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.79e-05/0.2631, allocations: 19.92 kB / 1.195 GB, free: 4.617 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 6.01e-05/0.2632, allocations: 39.84 kB / 1.195 GB, free: 4.578 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.000187/0.2634, allocations: 111.7 kB / 1.195 GB, free: 4.469 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.2634, allocations: 0 / 1.195 GB, free: 4.469 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.723e-06/0.2634, allocations: 3.938 kB / 1.195 GB, free: 4.465 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.113e-06/0.2634, allocations: 0 / 1.195 GB, free: 4.465 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005852/0.264, allocations: 339.8 kB / 1.196 GB, free: 4.094 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.132e-05/0.264, allocations: 8.031 kB / 1.196 GB, free: 4.086 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.753e-05/0.2641, allocations: 12.89 kB / 1.196 GB, free: 4.074 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.2642, allocations: 122.4 kB / 1.196 GB, free: 3.93 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.881e-05/0.2642, allocations: 12.36 kB / 1.196 GB, free: 3.918 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.2642, allocations: 8.375 kB / 1.196 GB, free: 3.91 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.2644, allocations: 62.22 kB / 1.196 GB, free: 3.844 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.2644, allocations: 192 / 1.196 GB, free: 3.844 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.2644, allocations: 11.88 kB / 1.196 GB, free: 3.832 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.2644, allocations: 0 / 1.196 GB, free: 3.832 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001065/0.2645, allocations: 43.95 kB / 1.196 GB, free: 3.789 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004663/0.265, allocations: 264.4 kB / 1.196 GB, free: 3.5 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001518/0.2651, allocations: 54.48 kB / 1.196 GB, free: 3.438 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.522e-05/0.2652, allocations: 33.02 kB / 1.196 GB, free: 3.402 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.276e-05/0.2652, allocations: 4 kB / 1.196 GB, free: 3.398 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002126/0.2654, allocations: 91.3 kB / 1.196 GB, free: 3.297 MB / 0.823 GB Notification: Performance of pre-optimization done (n=8): time 2.104e-06/0.2654, allocations: 0 / 1.196 GB, free: 3.297 MB / 0.823 GB Notification: Performance of matching and sorting (n=8): time 0.0003053/0.2657, allocations: 149.6 kB / 1.196 GB, free: 3.145 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/0.2658, allocations: 55.41 kB / 1.197 GB, free: 3.078 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.269e-05/0.2658, allocations: 125.7 kB / 1.197 GB, free: 2.945 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.2659, allocations: 33.7 kB / 1.197 GB, free: 2.906 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.251e-05/0.2659, allocations: 88.14 kB / 1.197 GB, free: 2.816 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.272e-05/0.2659, allocations: 23.83 kB / 1.197 GB, free: 2.793 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.627e-05/0.266, allocations: 37.7 kB / 1.197 GB, free: 2.75 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.719e-05/0.2661, allocations: 322.8 kB / 1.197 GB, free: 2.426 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001284/0.2662, allocations: 89.61 kB / 1.197 GB, free: 2.332 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001176/0.2663, allocations: 117.9 kB / 1.197 GB, free: 2.195 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001629/0.2665, allocations: 137.9 kB / 1.197 GB, free: 2.039 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.2665, allocations: 3.938 kB / 1.197 GB, free: 2.035 MB / 0.823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000295/0.2668, allocations: 248.8 kB / 1.198 GB, free: 1.773 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 4.128e-05/0.2668, allocations: 37.69 kB / 1.198 GB, free: 1.73 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.2668, allocations: 0 / 1.198 GB, free: 1.73 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.2669, allocations: 4 kB / 1.198 GB, free: 1.727 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.871e-05/0.2669, allocations: 11.98 kB / 1.198 GB, free: 1.715 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.2669, allocations: 0 / 1.198 GB, free: 1.715 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001135/0.2671, allocations: 40.05 kB / 1.198 GB, free: 1.676 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.771e-05/0.2671, allocations: 15.97 kB / 1.198 GB, free: 1.66 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,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 8.965e-05/0.2672, allocations: 127.6 kB / 1.198 GB, free: 1.527 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.176e-05/0.2672, allocations: 7.953 kB / 1.198 GB, free: 1.52 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.137e-05/0.2672, allocations: 8.375 kB / 1.198 GB, free: 1.508 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.2672, allocations: 0 / 1.198 GB, free: 1.508 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.2672, allocations: 0 / 1.198 GB, free: 1.508 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.2672, allocations: 4 kB / 1.198 GB, free: 1.504 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000337/0.2676, allocations: 322.1 kB / 1.198 GB, free: 1.152 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.2676, allocations: 3.938 kB / 1.198 GB, free: 1.148 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.133e-05/0.2676, allocations: 4 kB / 1.198 GB, free: 1.145 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.2676, allocations: 0 / 1.198 GB, free: 1.145 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.2676, allocations: 7.984 kB / 1.198 GB, free: 1.137 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.2676, allocations: 0 / 1.198 GB, free: 1.137 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.2676, allocations: 0 / 1.198 GB, free: 1.137 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005079/0.2681, allocations: 219.3 kB / 1.198 GB, free: 0.9062 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.131e-05/0.2681, allocations: 3.953 kB / 1.198 GB, free: 0.9023 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.2681, allocations: 4 kB / 1.199 GB, free: 0.8984 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.612e-05/0.2682, allocations: 7.984 kB / 1.199 GB, free: 0.8906 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.257e-05/0.2682, allocations: 11.98 kB / 1.199 GB, free: 0.8789 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-06/0.2682, allocations: 4 kB / 1.199 GB, free: 0.875 MB / 0.823 GB Notification: Performance of sorting global known variables: time 4.02e-05/0.2683, allocations: 95.2 kB / 1.199 GB, free: 0.7812 MB / 0.823 GB Notification: Performance of sort global known variables: time 5.1e-08/0.2683, allocations: 3.938 kB / 1.199 GB, free: 0.7773 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001775/0.2685, allocations: 24 kB / 1.199 GB, free: 0.7539 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 (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.0001493/0.2686, allocations: 99.19 kB / 1.199 GB, free: 0.6484 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002835/0.2689, allocations: 201 kB / 1.199 GB, free: 444 kB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2689, allocations: 0 / 1.199 GB, free: 444 kB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 6.644e-05/0.269, allocations: 27.98 kB / 1.199 GB, free: 416 kB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002291/0.2692, allocations: 20.11 kB / 1.199 GB, free: 396 kB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003703/0.2696, allocations: 197 kB / 1.199 GB, free: 168 kB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.437e-05/0.2696, allocations: 75.33 kB / 1.199 GB, free: 72 kB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.355e-05/0.2696, allocations: 11.44 kB / 1.199 GB, free: 60 kB / 0.823 GB Notification: Performance of SimCode: time 1.062e-06/0.2696, allocations: 0 / 1.199 GB, free: 60 kB / 0.823 GB Notification: Performance of Templates: time 0.002548/0.2722, allocations: 1.294 MB / 1.201 GB, free: 14.78 MB / 0.8387 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.051789902150631] Failed to read output from testmodel.py, exit status != 0: 0.27896504290401936 0.289059845 0.023639682000000002 Calling exit ...