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.624/2.624, allocations: 287.5 MB / 302.4 MB, free: 8.383 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.002341/0.002341, allocations: 180.8 kB / 371 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.248/2.248, allocations: 205.4 MB / 0.6297 GB, free: 10.57 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.001018/0.001017, allocations: 93.69 kB / 0.743 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005315/0.0005318, allocations: 14.12 kB / 0.8658 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2332/0.2338, allocations: 115.3 MB / 0.9784 GB, free: 28.33 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.000932/0.2348, allocations: 394.4 kB / 0.9787 GB, free: 27.94 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001682/0.2365, allocations: 1.165 MB / 0.9799 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.35e-05/0.2366, allocations: 3.938 kB / 0.9799 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.357e-05/0.2367, allocations: 0 / 0.9799 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.857e-05/0.2368, allocations: 11.94 kB / 0.9799 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008642/0.2376, allocations: 193.9 kB / 0.9801 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001725/0.2378, allocations: 131.7 kB / 0.9802 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.2379, allocations: 11.97 kB / 0.9802 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.633e-05/0.238, allocations: 51.91 kB / 0.9803 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.2382, allocations: 47.86 kB / 0.9803 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.567e-05/0.2382, allocations: 16 kB / 0.9803 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001035/0.2383, allocations: 19.98 kB / 0.9804 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.84e-05/0.2384, allocations: 7.984 kB / 0.9804 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.55e-05/0.2384, allocations: 45.64 kB / 0.9804 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001596/0.2386, allocations: 104 kB / 0.9805 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.2386, allocations: 0 / 0.9805 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.415e-06/0.2386, allocations: 0 / 0.9805 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.2386, allocations: 0 / 0.9805 GB, free: 26.13 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.0004257/0.2391, allocations: 410.7 kB / 0.9809 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.2391, allocations: 12.02 kB / 0.9809 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.068e-05/0.2392, allocations: 15.91 kB / 0.9809 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.177e-05/0.2393, allocations: 171 kB / 0.9811 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.626e-05/0.2393, allocations: 4 kB / 0.9811 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.399e-05/0.2394, allocations: 11.98 kB / 0.9811 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001253/0.2395, allocations: 49.62 kB / 0.9811 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.2396, allocations: 0 / 0.9811 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.2396, allocations: 4 kB / 0.9811 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.2396, allocations: 0 / 0.9811 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.305e-05/0.2396, allocations: 15.98 kB / 0.9812 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005129/0.2402, allocations: 356.6 kB / 0.9815 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001138/0.2403, allocations: 38.52 kB / 0.9815 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.706e-05/0.2404, allocations: 16.94 kB / 0.9816 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.329e-05/0.2404, allocations: 0 / 0.9816 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001933/0.2406, allocations: 87.36 kB / 0.9816 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.054e-06/0.2406, allocations: 0 / 0.9816 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0002923/0.2409, allocations: 101.5 kB / 0.9817 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.199e-05/0.2409, allocations: 55.34 kB / 0.9818 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.883e-05/0.241, allocations: 126 kB / 0.9819 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.734e-05/0.2411, allocations: 29.7 kB / 0.9819 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.805e-05/0.2412, allocations: 88.33 kB / 0.982 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.942e-05/0.2412, allocations: 15.8 kB / 0.982 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.882e-05/0.2412, allocations: 4 kB / 0.982 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.324e-05/0.2413, allocations: 326.8 kB / 0.9824 GB, free: 24 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001968/0.2415, allocations: 55.97 kB / 0.9824 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002117/0.2417, allocations: 93.25 kB / 0.9825 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001987/0.2419, allocations: 115.8 kB / 0.9826 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.242, allocations: 4 kB / 0.9826 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005793/0.2425, allocations: 264.7 kB / 0.9829 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.519e-05/0.2426, allocations: 69.11 kB / 0.9829 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.2426, allocations: 4.312 kB / 0.9829 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.2427, allocations: 0 / 0.9829 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.991e-05/0.2427, allocations: 4 kB / 0.9829 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.2427, allocations: 0 / 0.9829 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006568/0.2434, allocations: 80 kB / 0.983 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.243e-05/0.2434, allocations: 11.98 kB / 0.983 GB, free: 23.26 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.0001164/0.2436, allocations: 137.7 kB / 0.9832 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.894e-05/0.2436, allocations: 7.906 kB / 0.9832 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.095e-05/0.2436, allocations: 4.375 kB / 0.9832 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.2436, allocations: 4 kB / 0.9832 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.2437, allocations: 4.062 kB / 0.9832 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.2437, allocations: 0 / 0.9832 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001347/0.2438, allocations: 181.6 kB / 0.9833 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.2438, allocations: 0 / 0.9833 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.352e-05/0.2439, allocations: 0 / 0.9833 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.2439, allocations: 4 kB / 0.9834 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.2439, allocations: 4 kB / 0.9834 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.2439, allocations: 0 / 0.9834 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.2439, allocations: 0 / 0.9834 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001873/0.2441, allocations: 113 kB / 0.9835 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.809e-05/0.2441, allocations: 85.02 kB / 0.9835 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.23e-05/0.2442, allocations: 0 / 0.9835 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.342e-05/0.2442, allocations: 11.86 kB / 0.9836 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.273e-05/0.2443, allocations: 11.98 kB / 0.9836 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.2443, allocations: 8 kB / 0.9836 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.475e-05/0.2444, allocations: 91.27 kB / 0.9837 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2444, allocations: 0 / 0.9837 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003174/0.2447, allocations: 28 kB / 0.9837 GB, free: 22.48 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.0001734/0.2449, allocations: 103.2 kB / 0.9838 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004418/0.2454, allocations: 239 kB / 0.984 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2454, allocations: 8.25 kB / 0.984 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.489e-05/0.2455, allocations: 24 kB / 0.984 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003218/0.2458, allocations: 26.11 kB / 0.9841 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003762/0.2462, allocations: 167.4 kB / 0.9842 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001307/0.2463, allocations: 0.6887 MB / 0.9849 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.716e-05/0.2464, allocations: 4 kB / 0.9849 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.445e-05/0.2464, allocations: 11.44 kB / 0.9849 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of SimCode: time 1.072e-06/0.2464, allocations: 0 / 0.9849 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of Templates: time 0.005541/0.252, allocations: 1.686 MB / 0.9866 GB, free: 19.48 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)