Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.0008896/0.0008896, allocations: 79.69 kB / 21.74 MB, free: 2.516 MB / 18.57 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.001522/0.001522, allocations: 169.5 kB / 25.18 MB, free: 9.113 MB / 18.57 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.9453/0.9453, allocations: 177.1 MB / 205.6 MB, free: 5.051 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.979/1.979, allocations: 389.6 MB / 0.6364 GB, free: 12.23 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Nand") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Nand") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 0.7755 GB, free: 5.961 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.511e-05/2.733e-05, allocations: 6.25 kB / 0.7756 GB, free: 5.953 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.002166/0.002193, allocations: 0.7028 MB / 0.7762 GB, free: 5.273 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001828/0.004021, allocations: 1.235 MB / 0.7774 GB, free: 4.027 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.921e-05/0.004081, allocations: 0.875 kB / 0.7774 GB, free: 4.027 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 4.475e-05/0.004125, allocations: 7.594 kB / 0.7775 GB, free: 4.023 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 9.945e-05/0.004225, allocations: 11.94 kB / 0.7775 GB, free: 4.016 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006985/0.004923, allocations: 200.1 kB / 0.7777 GB, free: 3.82 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0003048/0.005228, allocations: 174.1 kB / 0.7778 GB, free: 3.66 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 9.54e-05/0.005324, allocations: 11.98 kB / 0.7778 GB, free: 3.648 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001777/0.005501, allocations: 95.23 kB / 0.7779 GB, free: 3.559 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001541/0.005655, allocations: 55.84 kB / 0.778 GB, free: 3.504 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 4.68e-05/0.005702, allocations: 16 kB / 0.778 GB, free: 3.488 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.005808, allocations: 27.92 kB / 0.778 GB, free: 3.461 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.513e-05/0.005833, allocations: 11.94 kB / 0.778 GB, free: 3.449 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 8.015e-05/0.005913, allocations: 55.94 kB / 0.7781 GB, free: 3.395 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002344/0.006148, allocations: 139.6 kB / 0.7782 GB, free: 3.258 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.006152, allocations: 0 / 0.7782 GB, free: 3.258 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.192e-06/0.006153, allocations: 0 / 0.7782 GB, free: 3.258 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.006158, allocations: 0.5625 kB / 0.7782 GB, free: 3.258 MB / 0.7292 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.0004685/0.006626, allocations: 324.2 kB / 0.7785 GB, free: 2.902 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.006665, allocations: 13.09 kB / 0.7785 GB, free: 2.895 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.026e-05/0.006726, allocations: 12.92 kB / 0.7786 GB, free: 2.883 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/0.006831, allocations: 117.7 kB / 0.7787 GB, free: 2.742 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.00685, allocations: 4.375 kB / 0.7787 GB, free: 2.738 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.149e-05/0.006882, allocations: 16.38 kB / 0.7787 GB, free: 2.723 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.574e-05/0.006968, allocations: 38.23 kB / 0.7787 GB, free: 2.68 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.006976, allocations: 4.188 kB / 0.7787 GB, free: 2.676 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.006984, allocations: 384 / 0.7787 GB, free: 2.676 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.006991, allocations: 4.375 kB / 0.7787 GB, free: 2.672 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.99e-05/0.007011, allocations: 7.938 kB / 0.7787 GB, free: 2.664 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003469/0.007358, allocations: 191.2 kB / 0.7789 GB, free: 2.465 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.747e-05/0.007435, allocations: 30.55 kB / 0.7789 GB, free: 2.426 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.749e-05/0.007453, allocations: 12.84 kB / 0.779 GB, free: 2.41 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.402e-06/0.007459, allocations: 0 / 0.779 GB, free: 2.41 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001315/0.007591, allocations: 79.44 kB / 0.779 GB, free: 2.32 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.623e-06/0.007592, allocations: 0 / 0.779 GB, free: 2.32 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0001701/0.007762, allocations: 78.34 kB / 0.7791 GB, free: 2.238 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.905e-05/0.007801, allocations: 51.41 kB / 0.7792 GB, free: 2.176 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.507e-05/0.007886, allocations: 118.7 kB / 0.7793 GB, free: 2.047 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.055e-05/0.007917, allocations: 34.2 kB / 0.7793 GB, free: 2.008 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.809e-05/0.007975, allocations: 96.61 kB / 0.7794 GB, free: 1.91 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.675e-05/0.007992, allocations: 16.77 kB / 0.7794 GB, free: 1.895 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.975e-05/0.008082, allocations: 49.67 kB / 0.7795 GB, free: 1.84 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.768e-05/0.008179, allocations: 318.8 kB / 0.7798 GB, free: 1.52 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001146/0.008294, allocations: 96.25 kB / 0.7799 GB, free: 1.414 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/0.008423, allocations: 135.6 kB / 0.78 GB, free: 1.254 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001522/0.008575, allocations: 145.3 kB / 0.7801 GB, free: 1.086 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.008578, allocations: 0 / 0.7801 GB, free: 1.086 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003123/0.00889, allocations: 269.6 kB / 0.7804 GB, free: 0.793 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.245e-05/0.008942, allocations: 65.17 kB / 0.7804 GB, free: 0.7188 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/0.008952, allocations: 7.938 kB / 0.7805 GB, free: 0.7109 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.008962, allocations: 0 / 0.7805 GB, free: 0.7109 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.418e-05/0.008986, allocations: 8 kB / 0.7805 GB, free: 0.7031 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.526e-06/0.00899, allocations: 0 / 0.7805 GB, free: 0.7031 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000222/0.009212, allocations: 46.14 kB / 0.7805 GB, free: 0.6602 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.66e-05/0.009238, allocations: 4 kB / 0.7805 GB, free: 0.6562 MB / 0.7292 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 9.299e-05/0.009331, allocations: 125.8 kB / 0.7806 GB, free: 0.5234 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.526e-05/0.009347, allocations: 4.812 kB / 0.7806 GB, free: 0.5195 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.298e-05/0.00938, allocations: 16.38 kB / 0.7806 GB, free: 0.5078 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.009382, allocations: 0.875 kB / 0.7806 GB, free: 0.5078 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.009384, allocations: 0 / 0.7806 GB, free: 0.5078 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.009388, allocations: 0.5625 kB / 0.7806 GB, free: 0.5078 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.178e-05/0.00948, allocations: 77.88 kB / 0.7807 GB, free: 424 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.009482, allocations: 0.625 kB / 0.7807 GB, free: 424 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.143e-05/0.009494, allocations: 5.234 kB / 0.7807 GB, free: 420 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.009496, allocations: 0 / 0.7807 GB, free: 420 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.73e-06/0.009502, allocations: 0 / 0.7807 GB, free: 420 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.211e-06/0.009508, allocations: 8.062 kB / 0.7807 GB, free: 412 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.009511, allocations: 5.312 kB / 0.7807 GB, free: 408 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001104/0.009622, allocations: 85.03 kB / 0.7808 GB, free: 304 kB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.111e-05/0.009633, allocations: 7.953 kB / 0.7808 GB, free: 296 kB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.186e-05/0.009645, allocations: 0 / 0.7808 GB, free: 296 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.499e-05/0.00967, allocations: 4.688 kB / 0.7808 GB, free: 292 kB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.397e-05/0.009704, allocations: 12.98 kB / 0.7808 GB, free: 280 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/0.009711, allocations: 4 kB / 0.7809 GB, free: 276 kB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.16e-05/0.009732, allocations: 13.31 kB / 0.7809 GB, free: 260 kB / 0.7292 GB Notification: Performance of sort global known variables: time 1e-07/0.009733, allocations: 1 kB / 0.7809 GB, free: 260 kB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002118/0.009944, allocations: 35.94 kB / 0.7809 GB, free: 224 kB / 0.7292 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.0001436/0.01009, allocations: 81.34 kB / 0.781 GB, free: 132 kB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002993/0.01039, allocations: 263.9 kB / 0.7812 GB, free: 15.83 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/0.01039, allocations: 0 / 0.7812 GB, free: 15.83 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.525e-05/0.01044, allocations: 21.7 kB / 0.7812 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000163/0.0106, allocations: 27.58 kB / 0.7813 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003295/0.01093, allocations: 185.1 kB / 0.7815 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.097e-05/0.01099, allocations: 79.91 kB / 0.7815 GB, free: 15.47 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001481/0.01114, allocations: 79.34 kB / 0.7816 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of SimCode: time 8.21e-07/0.01114, allocations: 0.6875 kB / 0.7816 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of Templates: time 0.003075/0.01422, allocations: 1.406 MB / 0.783 GB, free: 14.05 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Nand > Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.675274013541639]