Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Logical.Validation.Nand") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.227/5.227, allocations: 0.5623 GB / 0.5776 GB, free: 3.344 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002578/0.002577, allocations: 362.7 kB / 0.6447 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.624/4.624, allocations: 410.7 MB / 1.113 GB, free: 5.984 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001816/0.001816, allocations: 180.3 kB / 1.226 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005185/0.0005186, allocations: 12 kB / 1.349 GB, free: 8.25 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8075/0.808, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001086/0.8092, allocations: 399.5 kB / 1.462 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001811/0.811, allocations: 1.121 MB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.171e-05/0.8112, allocations: 0 / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.875e-05/0.8112, allocations: 4.5 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 8.413e-05/0.8113, allocations: 13.48 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008526/0.8122, allocations: 191.1 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001629/0.8123, allocations: 135.7 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 9.259e-05/0.8124, allocations: 6.219 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 8.814e-05/0.8125, allocations: 59.83 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.8126, allocations: 47.86 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.667e-05/0.8127, allocations: 8 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 9.251e-05/0.8128, allocations: 25.08 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.676e-05/0.8128, allocations: 3.938 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 6.558e-05/0.8129, allocations: 45.69 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001609/0.8131, allocations: 94.59 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.8131, allocations: 0 / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.235e-06/0.8131, allocations: 0.9062 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.93e-06/0.8131, allocations: 0 / 1.463 GB, free: 282.1 MB / 0.8542 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.0004596/0.8136, allocations: 411.4 kB / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.8136, allocations: 14.03 kB / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.944e-05/0.8137, allocations: 15.89 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.942e-05/0.8138, allocations: 174.9 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.396e-05/0.8139, allocations: 4 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.67e-05/0.8139, allocations: 13.16 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001252/0.814, allocations: 53.67 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.8141, allocations: 1.969 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.8141, allocations: 0 / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.8141, allocations: 0 / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.259e-05/0.8142, allocations: 12 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005321/0.8147, allocations: 358 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 8.252e-05/0.8148, allocations: 35.19 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.825e-05/0.8149, allocations: 17.39 kB / 1.465 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.424e-05/0.8149, allocations: 1.922 kB / 1.465 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001895/0.8151, allocations: 88.09 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 2.385e-06/0.8151, allocations: 0.7188 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.0003/0.8154, allocations: 98.86 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.906e-05/0.8155, allocations: 55.41 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.179e-05/0.8156, allocations: 118 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.96e-05/0.8156, allocations: 34.33 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.721e-05/0.8157, allocations: 93.06 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.086e-05/0.8157, allocations: 23.73 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.893e-05/0.8158, allocations: 4.5 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.356e-05/0.8158, allocations: 319.8 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000195/0.816, allocations: 59.97 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002138/0.8163, allocations: 92.48 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002006/0.8165, allocations: 117.7 kB / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.8165, allocations: 0 / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005966/0.8171, allocations: 266.9 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.309e-05/0.8172, allocations: 67.41 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.175e-05/0.8172, allocations: 0 / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.8172, allocations: 4.484 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.758e-05/0.8173, allocations: 6.438 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.8173, allocations: 3.938 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006776/0.818, allocations: 71.94 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.016e-05/0.818, allocations: 20 kB / 1.466 GB, free: 279.3 MB / 0.8542 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,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,nand1.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001194/0.8182, allocations: 129.3 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.123e-05/0.8182, allocations: 3.906 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.236e-05/0.8182, allocations: 14.17 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.8183, allocations: 0 / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.8183, allocations: 0 / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.019e-05/0.8183, allocations: 82.05 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.29e-05/0.8183, allocations: 12.98 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.196e-05/0.8184, allocations: 0 / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.888e-05/0.8184, allocations: 7.984 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002017/0.8187, allocations: 163.2 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001881/0.8189, allocations: 248.4 kB / 1.467 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.589e-05/0.8189, allocations: 28.05 kB / 1.467 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.416e-05/0.819, allocations: 91.27 kB / 1.467 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of Backend: time 8.72e-07/0.819, allocations: 0.6875 kB / 1.467 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0007671/0.8198, allocations: 308.7 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of SimCode: time 0.000559/0.8204, allocations: 0.6198 MB / 1.468 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.005661/0.826, allocations: 1.713 MB / 1.469 GB, free: 275.9 MB / 0.8542 GB