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.001362/0.001362, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001703/0.001703, allocations: 216.5 kB / 22.99 MB, free: 4.977 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.515/1.515, allocations: 230.6 MB / 256.8 MB, free: 7.785 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 0.9896/0.9896, allocations: 149.9 MB / 463 MB, free: 10.37 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.002261/0.002261, allocations: 62.88 kB / 0.6416 GB, free: 9.648 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2017/0.204, allocations: 89.17 MB / 0.7286 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001975/0.206, allocations: 0.6238 MB / 0.7292 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001623/0.2076, allocations: 1.21 MB / 0.7304 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.699e-05/0.2076, allocations: 4 kB / 0.7304 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.35e-05/0.2077, allocations: 3.938 kB / 0.7304 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.819e-05/0.2077, allocations: 11.92 kB / 0.7304 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006273/0.2084, allocations: 210 kB / 0.7306 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000244/0.2086, allocations: 179.6 kB / 0.7308 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.921e-05/0.2087, allocations: 8 kB / 0.7308 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001603/0.2089, allocations: 67.89 kB / 0.7309 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001308/0.209, allocations: 55.84 kB / 0.7309 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.539e-05/0.209, allocations: 16 kB / 0.731 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.15e-05/0.2091, allocations: 27.98 kB / 0.731 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.43e-05/0.2091, allocations: 11.98 kB / 0.731 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.59e-05/0.2092, allocations: 51.84 kB / 0.731 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00022/0.2094, allocations: 151.6 kB / 0.7312 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2094, allocations: 0 / 0.7312 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2094, allocations: 0 / 0.7312 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.98e-06/0.2094, allocations: 0 / 0.7312 GB, free: 13.93 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.0005739/0.21, allocations: 361.5 kB / 0.7315 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.2101, allocations: 16.03 kB / 0.7316 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.556e-05/0.2101, allocations: 12.88 kB / 0.7316 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.2102, allocations: 110.5 kB / 0.7317 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.491e-05/0.2103, allocations: 12.38 kB / 0.7317 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.952e-05/0.2103, allocations: 8.375 kB / 0.7317 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000121/0.2104, allocations: 46.25 kB / 0.7317 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.2104, allocations: 192 / 0.7317 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.658e-05/0.2104, allocations: 15.86 kB / 0.7318 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.2104, allocations: 0 / 0.7318 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.225e-05/0.2105, allocations: 16 kB / 0.7318 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004561/0.2109, allocations: 264.5 kB / 0.732 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.668e-05/0.211, allocations: 38.56 kB / 0.7321 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.056e-05/0.2111, allocations: 20.73 kB / 0.7321 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.196e-05/0.2111, allocations: 0 / 0.7321 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001799/0.2112, allocations: 83.36 kB / 0.7322 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.2112, allocations: 0 / 0.7322 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0002537/0.2115, allocations: 113.6 kB / 0.7323 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.661e-05/0.2116, allocations: 55.39 kB / 0.7323 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.2117, allocations: 121.8 kB / 0.7324 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.244e-05/0.2117, allocations: 29.7 kB / 0.7325 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.266e-05/0.2118, allocations: 92.14 kB / 0.7325 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.32e-05/0.2118, allocations: 19.89 kB / 0.7326 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.543e-05/0.2119, allocations: 45.69 kB / 0.7326 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.212, allocations: 318.8 kB / 0.7329 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001758/0.2122, allocations: 119.3 kB / 0.733 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000205/0.2124, allocations: 155.7 kB / 0.7332 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001932/0.2126, allocations: 163.5 kB / 0.7333 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.2126, allocations: 480 / 0.7333 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004645/0.2131, allocations: 336.2 kB / 0.7337 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.423e-05/0.2131, allocations: 65.27 kB / 0.7337 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.2131, allocations: 4 kB / 0.7337 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.2131, allocations: 0 / 0.7337 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.633e-05/0.2132, allocations: 11.98 kB / 0.7337 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.2132, allocations: 3.938 kB / 0.7337 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003292/0.2135, allocations: 56.02 kB / 0.7338 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.985e-05/0.2135, allocations: 11.98 kB / 0.7338 GB, free: 10.96 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.000117/0.2137, allocations: 121.8 kB / 0.7339 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.423e-05/0.2137, allocations: 8 kB / 0.7339 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.704e-05/0.2137, allocations: 4.375 kB / 0.7339 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.2137, allocations: 4 kB / 0.7339 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.2137, allocations: 0 / 0.7339 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.2137, allocations: 0 / 0.7339 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001241/0.2138, allocations: 125.2 kB / 0.7341 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2138, allocations: 8 kB / 0.7341 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.324e-06/0.2138, allocations: 0 / 0.7341 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.2138, allocations: 0 / 0.7341 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.2139, allocations: 64 / 0.7341 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/0.2139, allocations: 11.94 kB / 0.7341 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.2139, allocations: 0 / 0.7341 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001727/0.214, allocations: 120.9 kB / 0.7342 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.275e-05/0.214, allocations: 7.938 kB / 0.7342 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.2141, allocations: 4 kB / 0.7342 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.401e-05/0.2141, allocations: 7.984 kB / 0.7342 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.982e-05/0.2141, allocations: 4 kB / 0.7342 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.2141, allocations: 4 kB / 0.7342 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.235e-05/0.2142, allocations: 91.27 kB / 0.7343 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2142, allocations: 0 / 0.7343 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002315/0.2144, allocations: 32 kB / 0.7343 GB, free: 10.36 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.0001526/0.2146, allocations: 102.5 kB / 0.7344 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003796/0.215, allocations: 278.1 kB / 0.7347 GB, free: 9.949 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.215, allocations: 4.281 kB / 0.7347 GB, free: 9.945 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.499e-05/0.215, allocations: 20.19 kB / 0.7347 GB, free: 9.926 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002374/0.2153, allocations: 23.86 kB / 0.7347 GB, free: 9.902 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003694/0.2156, allocations: 150.8 kB / 0.7349 GB, free: 9.723 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.078e-05/0.2157, allocations: 71.33 kB / 0.7349 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.67e-05/0.2157, allocations: 4 kB / 0.735 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.711e-05/0.2158, allocations: 11.44 kB / 0.735 GB, free: 9.617 MB / 0.5606 GB Notification: Performance of SimCode: time 2.8e-07/0.2158, allocations: 0 / 0.735 GB, free: 9.617 MB / 0.5606 GB Notification: Performance of Templates: time 0.005229/0.221, allocations: 2.083 MB / 0.737 GB, free: 7.586 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: 5.94554677978158] Failed to read output from testmodel.py, exit status != 0: 0.22943785600364208 0.24381815499999995 0.03130233199999994 Calling exit ...