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.001364/0.001364, allocations: 71.98 kB / 20.51 MB, free: 1.285 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.001451/0.001451, allocations: 168.5 kB / 23.77 MB, free: 4.461 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.455/1.455, allocations: 177.2 MB / 204.1 MB, free: 8.973 MB / 190.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.9262/0.9262, allocations: 113.9 MB / 374.5 MB, free: 12.88 MB / 350.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.002155/0.002155, allocations: 68.55 kB / 0.555 GB, free: 2.879 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1745/0.1766, allocations: 89.15 MB / 0.6421 GB, free: 9.68 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Nand): time 0.002202/0.1788, allocations: 0.6167 MB / 0.6427 GB, free: 9.066 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001813/0.1807, allocations: 1.206 MB / 0.6439 GB, free: 7.848 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.227e-05/0.1807, allocations: 8 kB / 0.6439 GB, free: 7.84 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.379e-05/0.1807, allocations: 3.938 kB / 0.6439 GB, free: 7.836 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.476e-05/0.1808, allocations: 11.86 kB / 0.6439 GB, free: 7.824 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007515/0.1816, allocations: 223 kB / 0.6441 GB, free: 7.613 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002917/0.1819, allocations: 167.8 kB / 0.6443 GB, free: 7.449 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.182, allocations: 11.98 kB / 0.6443 GB, free: 7.438 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001311/0.1821, allocations: 71.89 kB / 0.6444 GB, free: 7.367 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000148/0.1822, allocations: 63.72 kB / 0.6444 GB, free: 7.305 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.832e-05/0.1823, allocations: 16 kB / 0.6444 GB, free: 7.289 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.18e-05/0.1824, allocations: 27.92 kB / 0.6445 GB, free: 7.262 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.593e-05/0.1824, allocations: 8 kB / 0.6445 GB, free: 7.254 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.284e-05/0.1825, allocations: 55.88 kB / 0.6445 GB, free: 7.199 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002356/0.1827, allocations: 147.5 kB / 0.6447 GB, free: 7.055 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1827, allocations: 0 / 0.6447 GB, free: 7.055 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.443e-06/0.1827, allocations: 4 kB / 0.6447 GB, free: 7.051 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.398e-06/0.1827, allocations: 0 / 0.6447 GB, free: 7.051 MB / 0.545 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.0006192/0.1834, allocations: 357.5 kB / 0.645 GB, free: 6.656 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.1834, allocations: 12.03 kB / 0.645 GB, free: 6.645 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.343e-05/0.1835, allocations: 12.92 kB / 0.645 GB, free: 6.633 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.1836, allocations: 118.5 kB / 0.6451 GB, free: 6.492 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.1836, allocations: 4.375 kB / 0.6451 GB, free: 6.488 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.415e-05/0.1836, allocations: 12.38 kB / 0.6452 GB, free: 6.477 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.1838, allocations: 50.17 kB / 0.6452 GB, free: 6.422 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.1838, allocations: 4.172 kB / 0.6452 GB, free: 6.418 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.1838, allocations: 7.938 kB / 0.6452 GB, free: 6.41 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.1838, allocations: 0 / 0.6452 GB, free: 6.41 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.15e-05/0.1838, allocations: 12 kB / 0.6452 GB, free: 6.398 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004546/0.1843, allocations: 272.5 kB / 0.6455 GB, free: 6.102 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.845e-05/0.1844, allocations: 34.56 kB / 0.6455 GB, free: 6.059 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.141e-05/0.1844, allocations: 20.73 kB / 0.6455 GB, free: 6.035 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.073e-05/0.1844, allocations: 0 / 0.6455 GB, free: 6.035 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000176/0.1846, allocations: 83.41 kB / 0.6456 GB, free: 5.941 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.1846, allocations: 0 / 0.6456 GB, free: 5.941 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0002687/0.1849, allocations: 109.8 kB / 0.6457 GB, free: 5.828 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.314e-05/0.1849, allocations: 55.34 kB / 0.6458 GB, free: 5.762 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.185, allocations: 117.8 kB / 0.6459 GB, free: 5.637 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.033e-05/0.185, allocations: 33.64 kB / 0.6459 GB, free: 5.598 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.334e-05/0.1851, allocations: 100.1 kB / 0.646 GB, free: 5.496 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.941e-05/0.1851, allocations: 11.91 kB / 0.646 GB, free: 5.484 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.419e-05/0.1852, allocations: 49.69 kB / 0.6461 GB, free: 5.43 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.1854, allocations: 318.8 kB / 0.6464 GB, free: 5.109 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001776/0.1856, allocations: 115.4 kB / 0.6465 GB, free: 4.984 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002048/0.1858, allocations: 155.7 kB / 0.6466 GB, free: 4.805 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002226/0.186, allocations: 163.5 kB / 0.6468 GB, free: 4.617 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.186, allocations: 4 kB / 0.6468 GB, free: 4.613 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005218/0.1865, allocations: 332.2 kB / 0.6471 GB, free: 4.258 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.976e-05/0.1866, allocations: 67.39 kB / 0.6472 GB, free: 4.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.1866, allocations: 0 / 0.6472 GB, free: 4.18 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.206e-05/0.1866, allocations: 4 kB / 0.6472 GB, free: 4.176 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.93e-05/0.1866, allocations: 3.938 kB / 0.6472 GB, free: 4.172 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.1867, allocations: 8.062 kB / 0.6472 GB, free: 4.164 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003779/0.187, allocations: 56.02 kB / 0.6473 GB, free: 4.109 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.405e-05/0.1871, allocations: 11.98 kB / 0.6473 GB, free: 4.098 MB / 0.545 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.0001251/0.1872, allocations: 129.7 kB / 0.6474 GB, free: 3.961 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.533e-05/0.1872, allocations: 4 kB / 0.6474 GB, free: 3.957 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.466e-05/0.1872, allocations: 4.438 kB / 0.6474 GB, free: 3.953 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.1872, allocations: 0 / 0.6474 GB, free: 3.953 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.862e-06/0.1872, allocations: 4.469 kB / 0.6474 GB, free: 3.949 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/0.1872, allocations: 3.984 kB / 0.6474 GB, free: 3.945 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001256/0.1874, allocations: 125.2 kB / 0.6475 GB, free: 3.793 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1874, allocations: 3.938 kB / 0.6475 GB, free: 3.789 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.101e-05/0.1874, allocations: 4 kB / 0.6475 GB, free: 3.785 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.1874, allocations: 3.938 kB / 0.6475 GB, free: 3.781 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.1874, allocations: 0 / 0.6475 GB, free: 3.781 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1874, allocations: 0 / 0.6475 GB, free: 3.781 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1874, allocations: 0 / 0.6475 GB, free: 3.781 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001712/0.1876, allocations: 117 kB / 0.6476 GB, free: 3.648 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.049e-05/0.1876, allocations: 3.953 kB / 0.6476 GB, free: 3.645 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.841e-05/0.1876, allocations: 7.984 kB / 0.6477 GB, free: 3.637 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.524e-05/0.1876, allocations: 4 kB / 0.6477 GB, free: 3.633 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.356e-05/0.1877, allocations: 4 kB / 0.6477 GB, free: 3.629 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.1877, allocations: 7.984 kB / 0.6477 GB, free: 3.621 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.794e-05/0.1877, allocations: 95.16 kB / 0.6478 GB, free: 3.527 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1877, allocations: 0 / 0.6478 GB, free: 3.527 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002617/0.188, allocations: 35.98 kB / 0.6478 GB, free: 3.492 MB / 0.545 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.0001433/0.1881, allocations: 95.25 kB / 0.6479 GB, free: 3.391 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000398/0.1885, allocations: 286.1 kB / 0.6482 GB, free: 3.074 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1885, allocations: 0 / 0.6482 GB, free: 3.074 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.405e-05/0.1886, allocations: 20.25 kB / 0.6482 GB, free: 3.055 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002427/0.1888, allocations: 19.92 kB / 0.6482 GB, free: 3.035 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003511/0.1892, allocations: 154.7 kB / 0.6483 GB, free: 2.852 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.545e-05/0.1893, allocations: 71.33 kB / 0.6484 GB, free: 2.762 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.832e-05/0.1893, allocations: 4 kB / 0.6484 GB, free: 2.758 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.61e-05/0.1893, allocations: 12.5 kB / 0.6484 GB, free: 2.746 MB / 0.545 GB Notification: Performance of SimCode: time 3.21e-07/0.1893, allocations: 4 kB / 0.6484 GB, free: 2.742 MB / 0.545 GB Notification: Performance of Templates: time 0.005329/0.1946, allocations: 2.055 MB / 0.6504 GB, free: 0.7383 MB / 0.545 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 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.446841725031845] Failed to read output from testmodel.py, exit status != 0: 0.20327173511032015 0.21859061000000002 0.032636391 Calling exit ...