Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001605/0.001605, allocations: 119.2 kB / 19.7 MB, free: 2.188 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.001996/0.001996, allocations: 219.7 kB / 23 MB, free: 5.004 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.541/1.541, allocations: 230.6 MB / 256.8 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.011/1.011, allocations: 150 MB / 463.1 MB, free: 10.54 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Controls.OBC.CDL.Logical.Validation.Nand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand") translateModel(IBPSA.Controls.OBC.CDL.Logical.Validation.Nand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand") [Timeout 660] "Notification: IBPSA 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.002174/0.002174, allocations: 70.92 kB / 0.6417 GB, free: 9.953 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1969/0.199, allocations: 89.17 MB / 0.7288 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001854/0.2009, allocations: 0.6452 MB / 0.7294 GB, free: 200 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00153/0.2024, allocations: 1.217 MB / 0.7306 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.317e-05/0.2025, allocations: 4 kB / 0.7306 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.067e-05/0.2025, allocations: 7.922 kB / 0.7306 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.752e-05/0.2026, allocations: 11.92 kB / 0.7307 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006311/0.2032, allocations: 211.8 kB / 0.7309 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002332/0.2034, allocations: 183.6 kB / 0.731 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.256e-05/0.2035, allocations: 8 kB / 0.731 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.878e-05/0.2036, allocations: 71.88 kB / 0.7311 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001335/0.2038, allocations: 59.84 kB / 0.7312 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.826e-05/0.2038, allocations: 16 kB / 0.7312 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.704e-05/0.2039, allocations: 27.98 kB / 0.7312 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.142e-05/0.2039, allocations: 8 kB / 0.7312 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.398e-05/0.204, allocations: 63.83 kB / 0.7313 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002487/0.2042, allocations: 155.5 kB / 0.7314 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.2042, allocations: 0 / 0.7314 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of FrontEnd: time 5.6e-06/0.2042, allocations: 4 kB / 0.7314 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.2042, allocations: 0 / 0.7314 GB, free: 14.16 MB / 0.5606 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.0007094/0.2049, allocations: 357.5 kB / 0.7318 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.697e-05/0.205, allocations: 16.02 kB / 0.7318 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.934e-05/0.2051, allocations: 8.875 kB / 0.7318 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001492/0.2052, allocations: 110.5 kB / 0.7319 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/0.2052, allocations: 8.375 kB / 0.7319 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.408e-05/0.2053, allocations: 16.38 kB / 0.7319 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001459/0.2054, allocations: 46.23 kB / 0.732 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.2054, allocations: 192 / 0.732 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.2055, allocations: 3.938 kB / 0.732 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.2055, allocations: 0 / 0.732 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.553e-05/0.2055, allocations: 12 kB / 0.732 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005954/0.2061, allocations: 327.8 kB / 0.7323 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.574e-05/0.2062, allocations: 38.5 kB / 0.7323 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.247e-05/0.2062, allocations: 12.86 kB / 0.7323 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.736e-06/0.2062, allocations: 0 / 0.7323 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002143/0.2065, allocations: 95.33 kB / 0.7324 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.283e-06/0.2065, allocations: 0 / 0.7324 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0003302/0.2068, allocations: 97.62 kB / 0.7325 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.722e-05/0.2068, allocations: 55.41 kB / 0.7326 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.207, allocations: 121.8 kB / 0.7327 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.075e-05/0.207, allocations: 33.7 kB / 0.7327 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.37e-05/0.2071, allocations: 96.11 kB / 0.7328 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.622e-05/0.2071, allocations: 11.91 kB / 0.7328 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.872e-05/0.2072, allocations: 45.69 kB / 0.7329 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.2074, allocations: 323.2 kB / 0.7332 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001449/0.2075, allocations: 67.89 kB / 0.7333 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001622/0.2077, allocations: 92.2 kB / 0.7333 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002124/0.2079, allocations: 155.6 kB / 0.7335 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.2079, allocations: 0 / 0.7335 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000448/0.2084, allocations: 272.8 kB / 0.7338 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.077e-05/0.2084, allocations: 71.33 kB / 0.7338 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.2084, allocations: 0 / 0.7338 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.431e-05/0.2085, allocations: 7.984 kB / 0.7338 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.602e-05/0.2085, allocations: 4 kB / 0.7338 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.379e-05/0.2085, allocations: 7.938 kB / 0.7338 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003689/0.2089, allocations: 56.02 kB / 0.7339 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.266e-05/0.2089, allocations: 11.98 kB / 0.7339 GB, free: 11.36 MB / 0.5606 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 0.0001085/0.209, allocations: 121.8 kB / 0.734 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.204e-05/0.209, allocations: 4 kB / 0.734 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.79e-05/0.2091, allocations: 12.36 kB / 0.734 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.2091, allocations: 0 / 0.734 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.2091, allocations: 4.062 kB / 0.734 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.2091, allocations: 4 kB / 0.734 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001439/0.2092, allocations: 156.6 kB / 0.7342 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.2092, allocations: 4 kB / 0.7342 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.675e-06/0.2092, allocations: 0 / 0.7342 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.2092, allocations: 0 / 0.7342 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.2092, allocations: 3.984 kB / 0.7342 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.2092, allocations: 4 kB / 0.7342 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2092, allocations: 0 / 0.7342 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001537/0.2094, allocations: 112.9 kB / 0.7343 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.09e-05/0.2094, allocations: 11.95 kB / 0.7343 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.2094, allocations: 0 / 0.7343 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.212e-05/0.2094, allocations: 4.094 kB / 0.7343 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.056e-05/0.2095, allocations: 7.922 kB / 0.7343 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.408e-06/0.2095, allocations: 8 kB / 0.7343 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.338e-05/0.2095, allocations: 91.27 kB / 0.7344 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2095, allocations: 0 / 0.7344 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002372/0.2098, allocations: 28 kB / 0.7345 GB, free: 10.72 MB / 0.5606 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.0001457/0.2099, allocations: 103.2 kB / 0.7346 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003458/0.2103, allocations: 222.6 kB / 0.7348 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.2103, allocations: 0 / 0.7348 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.678e-05/0.2103, allocations: 23.92 kB / 0.7348 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002227/0.2105, allocations: 19.59 kB / 0.7348 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003369/0.2109, allocations: 155 kB / 0.735 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003075/0.2112, allocations: 0.6885 MB / 0.7356 GB, free: 9.434 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.389e-05/0.2112, allocations: 8 kB / 0.7356 GB, free: 9.426 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.114e-05/0.2112, allocations: 11.44 kB / 0.7356 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of SimCode: time 3e-07/0.2112, allocations: 0 / 0.7356 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of Templates: time 0.004841/0.2161, allocations: 1.866 MB / 0.7375 GB, free: 7.57 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.089364052284509] Failed to read output from testmodel.py, exit status != 0: 0.22454880084842443 0.23902002600000002 0.031789376 Calling exit ...