Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nand.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.0007693/0.0007693, 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.0007741/0.0007741, allocations: 203.2 kB / 23 MB, free: 3.113 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.8809/0.8809, allocations: 230.6 MB / 256.8 MB, free: 3.488 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.03646/0.03646, allocations: 12.18 MB / 325.4 MB, free: 3.445 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.0004403/0.0004403, allocations: 35.3 kB / 384.9 MB, free: 45.72 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.606/1.606, allocations: 353.8 MB / 0.7795 GB, free: 13.07 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.Nand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nand") translateModel(AixLib.Controls.OBC.CDL.Logical.Validation.Nand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nand") [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.001428/0.001428, allocations: 117.8 kB / 1.061 GB, free: 9.473 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2144/0.2158, allocations: 134.9 MB / 1.193 GB, free: 2.648 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001333/0.2171, allocations: 0.6444 MB / 1.194 GB, free: 2.008 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001026/0.2182, allocations: 1.243 MB / 1.195 GB, free: 0.7539 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.382e-05/0.2182, allocations: 4 kB / 1.195 GB, free: 0.75 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.498e-05/0.2182, allocations: 7.938 kB / 1.195 GB, free: 0.7422 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 6.475e-05/0.2183, allocations: 15.86 kB / 1.195 GB, free: 0.7266 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004639/0.2188, allocations: 215 kB / 1.195 GB, free: 0.5273 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001777/0.2189, allocations: 179.6 kB / 1.195 GB, free: 360 kB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.219, allocations: 8 kB / 1.195 GB, free: 352 kB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 8.641e-05/0.2191, allocations: 71.88 kB / 1.195 GB, free: 280 kB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001268/0.2192, allocations: 59.8 kB / 1.195 GB, free: 220 kB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.674e-05/0.2193, allocations: 20 kB / 1.195 GB, free: 200 kB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 6.79e-05/0.2193, allocations: 31.97 kB / 1.195 GB, free: 168 kB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.315e-05/0.2194, allocations: 8 kB / 1.195 GB, free: 160 kB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 6.82e-05/0.2194, allocations: 55.84 kB / 1.195 GB, free: 104 kB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001863/0.2196, allocations: 151.5 kB / 1.196 GB, free: 15.95 MB / 0.8387 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.2196, allocations: 0 / 1.196 GB, free: 15.95 MB / 0.8387 GB Notification: Performance of FrontEnd: time 1.734e-06/0.2196, allocations: 0 / 1.196 GB, free: 15.95 MB / 0.8387 GB Notification: Performance of Transformations before backend: time 8.626e-06/0.2196, allocations: 4 kB / 1.196 GB, free: 15.95 MB / 0.8387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000399/0.22, allocations: 365.5 kB / 1.196 GB, free: 15.55 MB / 0.8387 GB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.2201, allocations: 15.98 kB / 1.196 GB, free: 15.53 MB / 0.8387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.494e-05/0.2201, allocations: 12.89 kB / 1.196 GB, free: 15.52 MB / 0.8387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.268e-05/0.2202, allocations: 114.5 kB / 1.196 GB, free: 15.38 MB / 0.8387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.2202, allocations: 4.375 kB / 1.196 GB, free: 15.38 MB / 0.8387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.329e-05/0.2202, allocations: 16.38 kB / 1.196 GB, free: 15.36 MB / 0.8387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.895e-05/0.2203, allocations: 42.25 kB / 1.196 GB, free: 15.32 MB / 0.8387 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.2203, allocations: 192 / 1.196 GB, free: 15.32 MB / 0.8387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.2203, allocations: 3.938 kB / 1.196 GB, free: 15.31 MB / 0.8387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.2203, allocations: 0 / 1.196 GB, free: 15.31 MB / 0.8387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.157e-05/0.2204, allocations: 19.92 kB / 1.196 GB, free: 15.29 MB / 0.8387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003785/0.2208, allocations: 323.9 kB / 1.197 GB, free: 14.93 MB / 0.8387 GB Notification: Performance of preOpt comSubExp (simulation): time 6.441e-05/0.2208, allocations: 30.52 kB / 1.197 GB, free: 14.89 MB / 0.8387 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.264e-05/0.2208, allocations: 16.94 kB / 1.197 GB, free: 14.88 MB / 0.8387 GB Notification: Performance of preOpt evalFunc (simulation): time 7.654e-06/0.2209, allocations: 0 / 1.197 GB, free: 14.88 MB / 0.8387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001188/0.221, allocations: 91.3 kB / 1.197 GB, free: 14.77 MB / 0.8387 GB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/0.221, allocations: 4 kB / 1.197 GB, free: 14.77 MB / 0.8387 GB Notification: Performance of matching and sorting (n=7): time 0.000179/0.2212, allocations: 97.62 kB / 1.197 GB, free: 14.67 MB / 0.8387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.284e-05/0.2212, allocations: 55.41 kB / 1.197 GB, free: 14.6 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.833e-05/0.2213, allocations: 133.6 kB / 1.197 GB, free: 14.46 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.2213, allocations: 33.7 kB / 1.197 GB, free: 14.42 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 4.131e-05/0.2213, allocations: 88.14 kB / 1.197 GB, free: 14.33 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 1.297e-05/0.2213, allocations: 15.89 kB / 1.197 GB, free: 14.32 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.453e-05/0.2214, allocations: 45.69 kB / 1.197 GB, free: 14.27 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 7.065e-05/0.2215, allocations: 330.8 kB / 1.197 GB, free: 13.93 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.874e-05/0.2215, allocations: 59.97 kB / 1.197 GB, free: 13.88 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.686e-05/0.2216, allocations: 88.25 kB / 1.198 GB, free: 13.77 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001265/0.2218, allocations: 159.6 kB / 1.198 GB, free: 13.59 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.2218, allocations: 0 / 1.198 GB, free: 13.59 MB / 0.8387 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002641/0.222, allocations: 260.9 kB / 1.198 GB, free: 13.32 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 3.636e-05/0.2221, allocations: 71.39 kB / 1.198 GB, free: 13.23 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.2221, allocations: 0 / 1.198 GB, free: 13.23 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.2221, allocations: 4 kB / 1.198 GB, free: 13.23 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.69e-05/0.2221, allocations: 7.922 kB / 1.198 GB, free: 13.22 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.2221, allocations: 8.125 kB / 1.198 GB, free: 13.21 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001828/0.2223, allocations: 55.88 kB / 1.198 GB, free: 13.16 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.11e-05/0.2223, allocations: 15.97 kB / 1.198 GB, free: 13.14 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: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,nand1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.19e-05/0.2224, allocations: 122.7 kB / 1.198 GB, free: 13.02 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.534e-06/0.2224, allocations: 7.953 kB / 1.198 GB, free: 13.01 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.564e-05/0.2224, allocations: 12.84 kB / 1.198 GB, free: 12.99 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.2224, allocations: 0 / 1.198 GB, free: 12.99 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.2224, allocations: 0 / 1.198 GB, free: 12.99 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.2224, allocations: 4 kB / 1.198 GB, free: 12.99 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.537e-05/0.2225, allocations: 152.6 kB / 1.198 GB, free: 12.8 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.2225, allocations: 7.938 kB / 1.198 GB, free: 12.79 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.88e-06/0.2225, allocations: 3.938 kB / 1.198 GB, free: 12.79 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.62e-07/0.2225, allocations: 0 / 1.198 GB, free: 12.79 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.67e-06/0.2225, allocations: 0 / 1.198 GB, free: 12.79 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.2225, allocations: 4 kB / 1.198 GB, free: 12.78 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.2225, allocations: 0 / 1.198 GB, free: 12.78 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.469e-05/0.2226, allocations: 117.3 kB / 1.199 GB, free: 12.65 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 7.344e-06/0.2226, allocations: 7.953 kB / 1.199 GB, free: 12.64 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.968e-06/0.2226, allocations: 3.984 kB / 1.199 GB, free: 12.64 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.112e-05/0.2226, allocations: 0 / 1.199 GB, free: 12.64 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.34e-05/0.2227, allocations: 4 kB / 1.199 GB, free: 12.63 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.2227, allocations: 11.98 kB / 1.199 GB, free: 12.62 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 3.093e-05/0.2227, allocations: 87.28 kB / 1.199 GB, free: 12.54 MB / 0.8387 GB Notification: Performance of sort global known variables: time 5e-08/0.2227, allocations: 0 / 1.199 GB, free: 12.54 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0001536/0.2229, allocations: 31.98 kB / 1.199 GB, free: 12.5 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 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,nand1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.0001/0.223, allocations: 99.19 kB / 1.199 GB, free: 12.4 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0002264/0.2232, allocations: 230.7 kB / 1.199 GB, free: 12.15 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2232, allocations: 0 / 1.199 GB, free: 12.15 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 3.285e-05/0.2232, allocations: 24.05 kB / 1.199 GB, free: 12.12 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001583/0.2234, allocations: 20.23 kB / 1.199 GB, free: 12.11 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002439/0.2236, allocations: 184.5 kB / 1.199 GB, free: 11.89 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001631/0.2238, allocations: 0.6852 MB / 1.2 GB, free: 11.18 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.74e-05/0.2238, allocations: 11.44 kB / 1.2 GB, free: 11.17 MB / 0.8387 GB Notification: Performance of SimCode: time 3.71e-07/0.2238, allocations: 3.938 kB / 1.2 GB, free: 11.16 MB / 0.8387 GB Notification: Performance of Templates: time 0.001911/0.2257, allocations: 1.378 MB / 1.201 GB, free: 9.805 MB / 0.8387 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nand.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nand.sim & ./AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nand -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.9186137756332755] Failed to read output from testmodel.py, exit status != 0: 0.2306506484746933 0.23842986100000002 0.017224331000000002 Calling exit ...