Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.952/2.952, allocations: 287.3 MB / 302.3 MB, free: 8.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002529/0.002529, allocations: 186.1 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.207/2.207, allocations: 205.4 MB / 0.6295 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001094/0.001094, allocations: 86.97 kB / 0.7428 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007419/0.0007421, allocations: 13.41 kB / 0.8656 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2564/0.2572, allocations: 115.3 MB / 0.9782 GB, free: 28.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.00127/0.2585, allocations: 392.8 kB / 0.9786 GB, free: 27.98 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002483/0.2611, allocations: 1.128 MB / 0.9797 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.405e-05/0.2612, allocations: 0 / 0.9797 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.097e-05/0.2612, allocations: 0 / 0.9797 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001163/0.2614, allocations: 7.984 kB / 0.9797 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001383/0.2628, allocations: 209.6 kB / 0.9799 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002051/0.263, allocations: 79.91 kB / 0.98 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.2631, allocations: 7.984 kB / 0.98 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001359/0.2633, allocations: 59.89 kB / 0.98 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001383/0.2635, allocations: 43.86 kB / 0.9801 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.302e-05/0.2635, allocations: 8 kB / 0.9801 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001294/0.2637, allocations: 23.98 kB / 0.9801 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.034e-05/0.2637, allocations: 11.92 kB / 0.9801 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.931e-05/0.2638, allocations: 41.7 kB / 0.9802 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002589/0.2641, allocations: 99.98 kB / 0.9803 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2641, allocations: 0 / 0.9803 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.645e-06/0.2642, allocations: 0 / 0.9803 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.2642, allocations: 0 / 0.9803 GB, free: 26.25 MB / 0.6198 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.0005801/0.2648, allocations: 410.6 kB / 0.9806 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.2648, allocations: 16.02 kB / 0.9807 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.675e-05/0.2649, allocations: 7.906 kB / 0.9807 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.2651, allocations: 171 kB / 0.9808 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.335e-05/0.2651, allocations: 11.92 kB / 0.9808 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.895e-05/0.2652, allocations: 8 kB / 0.9808 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.2654, allocations: 53.67 kB / 0.9809 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.2654, allocations: 0 / 0.9809 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.2655, allocations: 3.938 kB / 0.9809 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.543e-06/0.2655, allocations: 0 / 0.9809 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.093e-05/0.2656, allocations: 12 kB / 0.9809 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007416/0.2664, allocations: 360.6 kB / 0.9813 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001208/0.2665, allocations: 38.5 kB / 0.9813 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.623e-05/0.2665, allocations: 0 / 0.9813 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002517/0.2668, allocations: 79.45 kB / 0.9814 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 5.009e-06/0.2668, allocations: 0 / 0.9814 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0004483/0.2673, allocations: 109.5 kB / 0.9815 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/0.2674, allocations: 59.39 kB / 0.9815 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.2675, allocations: 118 kB / 0.9816 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.861e-05/0.2676, allocations: 33.7 kB / 0.9817 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.716e-05/0.2677, allocations: 88.33 kB / 0.9818 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.317e-05/0.2678, allocations: 19.78 kB / 0.9818 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.514e-05/0.2678, allocations: 4 kB / 0.9818 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.948e-05/0.2679, allocations: 318.8 kB / 0.9821 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002785/0.2682, allocations: 59.95 kB / 0.9821 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003258/0.2686, allocations: 92.27 kB / 0.9822 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003164/0.2689, allocations: 111.3 kB / 0.9823 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.184e-06/0.2689, allocations: 4 kB / 0.9823 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0009176/0.2699, allocations: 265.3 kB / 0.9826 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.649e-05/0.27, allocations: 67.39 kB / 0.9827 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.27, allocations: 0 / 0.9827 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.22e-05/0.27, allocations: 4 kB / 0.9827 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.405e-05/0.2701, allocations: 3.938 kB / 0.9827 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.2701, allocations: 8.047 kB / 0.9827 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001045/0.2712, allocations: 78 kB / 0.9827 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.335e-05/0.2713, allocations: 19.94 kB / 0.9828 GB, free: 23.39 MB / 0.6198 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.0001704/0.2715, allocations: 125.7 kB / 0.9829 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.899e-05/0.2715, allocations: 11.91 kB / 0.9829 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.19e-05/0.2716, allocations: 4.375 kB / 0.9829 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.2716, allocations: 0 / 0.9829 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.567e-06/0.2716, allocations: 0 / 0.9829 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.2716, allocations: 7.984 kB / 0.9829 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001927/0.2718, allocations: 173.6 kB / 0.9831 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.2719, allocations: 0 / 0.9831 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.884e-05/0.2719, allocations: 4 kB / 0.9831 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.2719, allocations: 0 / 0.9831 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.272, allocations: 0 / 0.9831 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.73e-06/0.272, allocations: 3.984 kB / 0.9831 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.272, allocations: 8 kB / 0.9831 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002822/0.2723, allocations: 112.9 kB / 0.9832 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.401e-05/0.2724, allocations: 89 kB / 0.9833 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.155e-05/0.2724, allocations: 3.938 kB / 0.9833 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.222e-05/0.2725, allocations: 0 / 0.9833 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.643e-05/0.2726, allocations: 11.98 kB / 0.9833 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.637e-05/0.2726, allocations: 4 kB / 0.9833 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.483e-05/0.2727, allocations: 91.27 kB / 0.9834 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9.42e-07/0.2727, allocations: 4 kB / 0.9834 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005185/0.2732, allocations: 24 kB / 0.9834 GB, free: 22.63 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002054/0.2735, allocations: 103.2 kB / 0.9835 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006323/0.2741, allocations: 238.7 kB / 0.9837 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.2741, allocations: 4 kB / 0.9837 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.879e-05/0.2743, allocations: 27.92 kB / 0.9838 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003912/0.2747, allocations: 24.47 kB / 0.9838 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004958/0.2752, allocations: 159.5 kB / 0.9839 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001744/0.2754, allocations: 0.6887 MB / 0.9846 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.321e-05/0.2755, allocations: 11.98 kB / 0.9846 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.545e-05/0.2755, allocations: 11.44 kB / 0.9846 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of SimCode: time 1.543e-06/0.2755, allocations: 0 / 0.9846 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of Templates: time 0.008072/0.2836, allocations: 1.684 MB / 0.9863 GB, free: 19.63 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1)