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.0007805/0.0007805, 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.0008688/0.0008688, allocations: 203.8 kB / 23 MB, free: 3.109 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.8675/0.8675, allocations: 230.6 MB / 256.8 MB, free: 3.469 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.03597/0.03597, allocations: 12.19 MB / 325.4 MB, free: 3.43 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.0004129/0.0004129, allocations: 24.42 kB / 384.9 MB, free: 45.8 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.616/1.616, allocations: 353.8 MB / 0.7794 GB, free: 13.12 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.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.001485/0.001485, allocations: 118.2 kB / 1.061 GB, free: 9.457 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2019/0.2034, allocations: 134.9 MB / 1.193 GB, free: 2.629 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001376/0.2048, allocations: 0.7385 MB / 1.194 GB, free: 1.895 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001003/0.2058, allocations: 1.202 MB / 1.195 GB, free: 0.6797 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.7e-05/0.2058, allocations: 0 / 1.195 GB, free: 0.6797 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.641e-05/0.2059, allocations: 7.875 kB / 1.195 GB, free: 0.6719 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 6.597e-05/0.2059, allocations: 15.92 kB / 1.195 GB, free: 0.6562 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003846/0.2063, allocations: 130.3 kB / 1.195 GB, free: 0.5312 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.000147/0.2065, allocations: 123.7 kB / 1.195 GB, free: 420 kB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 8.904e-05/0.2065, allocations: 11.98 kB / 1.195 GB, free: 408 kB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 7.582e-05/0.2066, allocations: 51.84 kB / 1.195 GB, free: 356 kB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 7.882e-05/0.2067, allocations: 47.81 kB / 1.195 GB, free: 308 kB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.89e-05/0.2067, allocations: 12 kB / 1.195 GB, free: 296 kB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 5.216e-05/0.2068, allocations: 23.98 kB / 1.195 GB, free: 272 kB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.966e-05/0.2068, allocations: 15.98 kB / 1.195 GB, free: 256 kB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 5.063e-05/0.2068, allocations: 39.86 kB / 1.195 GB, free: 216 kB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001448/0.207, allocations: 123.6 kB / 1.195 GB, free: 92 kB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.207, allocations: 0 / 1.195 GB, free: 92 kB / 0.823 GB Notification: Performance of FrontEnd: time 1.663e-06/0.207, allocations: 0 / 1.195 GB, free: 92 kB / 0.823 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.207, allocations: 0 / 1.195 GB, free: 92 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000465/0.2075, allocations: 339.8 kB / 1.196 GB, free: 15.72 MB / 0.8387 GB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.2075, allocations: 11.98 kB / 1.196 GB, free: 15.71 MB / 0.8387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.072e-05/0.2075, allocations: 12.89 kB / 1.196 GB, free: 15.7 MB / 0.8387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.21e-05/0.2076, allocations: 127.3 kB / 1.196 GB, free: 15.55 MB / 0.8387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.2076, allocations: 4.375 kB / 1.196 GB, free: 15.54 MB / 0.8387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.2077, allocations: 12.31 kB / 1.196 GB, free: 15.53 MB / 0.8387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001294/0.2078, allocations: 66.22 kB / 1.196 GB, free: 15.46 MB / 0.8387 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.2078, allocations: 192 / 1.196 GB, free: 15.46 MB / 0.8387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.2078, allocations: 7.938 kB / 1.196 GB, free: 15.45 MB / 0.8387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.2078, allocations: 0 / 1.196 GB, free: 15.45 MB / 0.8387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.492e-05/0.2079, allocations: 43.95 kB / 1.196 GB, free: 15.41 MB / 0.8387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003874/0.2083, allocations: 315.7 kB / 1.196 GB, free: 15.06 MB / 0.8387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001186/0.2084, allocations: 54.59 kB / 1.196 GB, free: 15 MB / 0.8387 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.974e-05/0.2085, allocations: 28.95 kB / 1.196 GB, free: 14.96 MB / 0.8387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.075e-05/0.2085, allocations: 8 kB / 1.196 GB, free: 14.96 MB / 0.8387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00015/0.2086, allocations: 95.28 kB / 1.197 GB, free: 14.85 MB / 0.8387 GB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.2086, allocations: 0 / 1.197 GB, free: 14.85 MB / 0.8387 GB Notification: Performance of matching and sorting (n=8): time 0.0002603/0.2089, allocations: 133.6 kB / 1.197 GB, free: 14.71 MB / 0.8387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.213e-05/0.2089, allocations: 55.41 kB / 1.197 GB, free: 14.65 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.868e-05/0.209, allocations: 126.3 kB / 1.197 GB, free: 14.52 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/0.209, allocations: 29.7 kB / 1.197 GB, free: 14.48 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 4.387e-05/0.209, allocations: 96.2 kB / 1.197 GB, free: 14.38 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 1.634e-05/0.2091, allocations: 23.77 kB / 1.197 GB, free: 14.36 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.994e-05/0.2091, allocations: 37.7 kB / 1.197 GB, free: 14.32 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 7.802e-05/0.2092, allocations: 322.8 kB / 1.197 GB, free: 13.99 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.381e-05/0.2093, allocations: 51.97 kB / 1.197 GB, free: 13.94 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/0.2094, allocations: 92.25 kB / 1.197 GB, free: 13.84 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000228/0.2096, allocations: 141.9 kB / 1.198 GB, free: 13.68 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.2096, allocations: 0 / 1.198 GB, free: 13.68 MB / 0.8387 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002813/0.2099, allocations: 207.1 kB / 1.198 GB, free: 13.46 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 4.191e-05/0.2099, allocations: 41.69 kB / 1.198 GB, free: 13.41 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.2099, allocations: 3.938 kB / 1.198 GB, free: 13.41 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.21, allocations: 0 / 1.198 GB, free: 13.41 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.486e-05/0.21, allocations: 16.11 kB / 1.198 GB, free: 13.39 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.21, allocations: 4 kB / 1.198 GB, free: 13.39 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001178/0.2102, allocations: 35.92 kB / 1.198 GB, free: 13.36 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.619e-05/0.2102, allocations: 7.984 kB / 1.198 GB, free: 13.35 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,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 9.137e-05/0.2103, allocations: 125.7 kB / 1.198 GB, free: 13.21 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.011e-05/0.2103, allocations: 7.953 kB / 1.198 GB, free: 13.21 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.887e-05/0.2103, allocations: 12.38 kB / 1.198 GB, free: 13.19 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.2103, allocations: 4 kB / 1.198 GB, free: 13.19 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.2103, allocations: 0 / 1.198 GB, free: 13.19 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.543e-06/0.2103, allocations: 3.984 kB / 1.198 GB, free: 13.18 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003555/0.2107, allocations: 345.4 kB / 1.198 GB, free: 12.8 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.2107, allocations: 0 / 1.198 GB, free: 12.8 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.572e-05/0.2107, allocations: 15.98 kB / 1.198 GB, free: 12.78 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.2107, allocations: 4 kB / 1.198 GB, free: 12.78 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.2107, allocations: 8 kB / 1.198 GB, free: 12.77 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.2107, allocations: 0 / 1.198 GB, free: 12.77 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.2107, allocations: 4 kB / 1.198 GB, free: 12.77 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001767/0.2109, allocations: 211.4 kB / 1.199 GB, free: 12.54 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.021e-05/0.2109, allocations: 7.953 kB / 1.199 GB, free: 12.54 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.2109, allocations: 4 kB / 1.199 GB, free: 12.53 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.821e-05/0.211, allocations: 11.98 kB / 1.199 GB, free: 12.52 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.237e-05/0.211, allocations: 7.938 kB / 1.199 GB, free: 12.51 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.115e-06/0.2111, allocations: 3.984 kB / 1.199 GB, free: 12.51 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 3.983e-05/0.2111, allocations: 97.52 kB / 1.199 GB, free: 12.41 MB / 0.8387 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2111, allocations: 0 / 1.199 GB, free: 12.41 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.000179/0.2113, allocations: 23.98 kB / 1.199 GB, free: 12.39 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 (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.0001581/0.2114, allocations: 106.2 kB / 1.199 GB, free: 12.28 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0002802/0.2117, allocations: 163.3 kB / 1.199 GB, free: 12.11 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.2117, allocations: 0 / 1.199 GB, free: 12.11 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 6.756e-05/0.2118, allocations: 32.44 kB / 1.199 GB, free: 12.08 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002506/0.212, allocations: 15.94 kB / 1.199 GB, free: 12.06 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003831/0.2124, allocations: 196.6 kB / 1.199 GB, free: 11.84 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002137/0.2126, allocations: 0.6923 MB / 1.2 GB, free: 11.12 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.312e-05/0.2127, allocations: 15.42 kB / 1.2 GB, free: 11.11 MB / 0.8387 GB Notification: Performance of SimCode: time 5.41e-07/0.2127, allocations: 0 / 1.2 GB, free: 11.11 MB / 0.8387 GB Notification: Performance of Templates: time 0.002195/0.2149, allocations: 1.276 MB / 1.201 GB, free: 9.852 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: 6.542228081263602] Failed to read output from testmodel.py, exit status != 0: 0.22041565366089344 0.229581477 0.020844086 Calling exit ...