Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.669/1.669, allocations: 288.3 MB / 303.2 MB, free: 8.211 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.001085/0.001085, allocations: 191.9 kB / 371.9 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.633/1.633, allocations: 205.4 MB / 0.6306 GB, free: 10 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.001036/0.001036, allocations: 101.4 kB / 0.7439 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000426/0.000426, allocations: 13.19 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2844/0.2849, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001031/0.286, allocations: 389 kB / 0.9798 GB, free: 27.31 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001426/0.2874, allocations: 1.128 MB / 0.9809 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.128e-05/0.2875, allocations: 7.938 kB / 0.9809 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.134e-05/0.2875, allocations: 3.938 kB / 0.9809 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.657e-05/0.2876, allocations: 11.97 kB / 0.9809 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000635/0.2883, allocations: 198.9 kB / 0.9811 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001084/0.2884, allocations: 75.89 kB / 0.9812 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.2885, allocations: 15.98 kB / 0.9812 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.074e-05/0.2886, allocations: 59.88 kB / 0.9813 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.316e-05/0.2887, allocations: 43.88 kB / 0.9813 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.712e-05/0.2887, allocations: 12 kB / 0.9813 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.03e-05/0.2888, allocations: 19.98 kB / 0.9813 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.721e-05/0.2888, allocations: 7.938 kB / 0.9813 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.492e-05/0.2889, allocations: 41.7 kB / 0.9814 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001392/0.289, allocations: 99.97 kB / 0.9815 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.289, allocations: 0 / 0.9815 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.425e-06/0.289, allocations: 0 / 0.9815 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.598e-06/0.289, allocations: 4 kB / 0.9815 GB, free: 25.58 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.0004222/0.2895, allocations: 406.7 kB / 0.9819 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.2895, allocations: 12.02 kB / 0.9819 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.23e-05/0.2896, allocations: 15.91 kB / 0.9819 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001477/0.2897, allocations: 171 kB / 0.9821 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.59e-05/0.2898, allocations: 7.984 kB / 0.9821 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.975e-05/0.2898, allocations: 11.94 kB / 0.9821 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001112/0.2899, allocations: 45.69 kB / 0.9821 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.2899, allocations: 0 / 0.9821 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.29, allocations: 4 kB / 0.9821 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.29, allocations: 7.984 kB / 0.9821 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.929e-05/0.29, allocations: 15.98 kB / 0.9821 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004405/0.2905, allocations: 352.6 kB / 0.9825 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.629e-05/0.2906, allocations: 42.45 kB / 0.9825 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.257e-06/0.2906, allocations: 0 / 0.9825 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001641/0.2907, allocations: 87.45 kB / 0.9826 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.163e-06/0.2908, allocations: 0 / 0.9826 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0002211/0.291, allocations: 101.5 kB / 0.9827 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.621e-05/0.291, allocations: 59.39 kB / 0.9828 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.653e-05/0.2911, allocations: 118 kB / 0.9829 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.905e-05/0.2912, allocations: 29.7 kB / 0.9829 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.233e-05/0.2912, allocations: 92.31 kB / 0.983 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.666e-05/0.2912, allocations: 19.81 kB / 0.983 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.755e-05/0.2913, allocations: 4 kB / 0.983 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.053e-05/0.2913, allocations: 322.8 kB / 0.9833 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001085/0.2914, allocations: 59.97 kB / 0.9834 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001239/0.2916, allocations: 84.27 kB / 0.9835 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001272/0.2917, allocations: 123.3 kB / 0.9836 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.2917, allocations: 0 / 0.9836 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003266/0.292, allocations: 260.8 kB / 0.9838 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.254e-05/0.2921, allocations: 71.39 kB / 0.9839 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.2921, allocations: 0 / 0.9839 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.2921, allocations: 0 / 0.9839 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.058e-05/0.2922, allocations: 4 kB / 0.9839 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.2922, allocations: 0 / 0.9839 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003908/0.2926, allocations: 76.06 kB / 0.984 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.862e-05/0.2926, allocations: 11.98 kB / 0.984 GB, free: 22.73 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 8.887e-05/0.2927, allocations: 140.2 kB / 0.9841 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.668e-06/0.2927, allocations: 3.906 kB / 0.9841 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.702e-05/0.2927, allocations: 12.36 kB / 0.9841 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.2928, allocations: 0 / 0.9841 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.2928, allocations: 0 / 0.9841 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.2928, allocations: 480 / 0.9841 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001004/0.2929, allocations: 181.6 kB / 0.9843 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.2929, allocations: 4 kB / 0.9843 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.626e-06/0.2929, allocations: 3.984 kB / 0.9843 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.2929, allocations: 4 kB / 0.9843 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.2929, allocations: 3.938 kB / 0.9843 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.2929, allocations: 3.938 kB / 0.9843 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2929, allocations: 0 / 0.9843 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001148/0.2931, allocations: 116.9 kB / 0.9844 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.149e-05/0.2931, allocations: 81.02 kB / 0.9845 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.2931, allocations: 4 kB / 0.9845 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.866e-05/0.2931, allocations: 4 kB / 0.9845 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.558e-05/0.2932, allocations: 11.98 kB / 0.9845 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.2932, allocations: 0 / 0.9845 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.838e-05/0.2932, allocations: 91.27 kB / 0.9846 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2932, allocations: 0 / 0.9846 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002147/0.2934, allocations: 28 kB / 0.9846 GB, free: 21.96 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.0001375/0.2936, allocations: 107.2 kB / 0.9847 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002792/0.2939, allocations: 238.7 kB / 0.985 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2939, allocations: 0 / 0.985 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.942e-05/0.2939, allocations: 31.92 kB / 0.985 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000187/0.2941, allocations: 24.56 kB / 0.985 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002815/0.2944, allocations: 167.8 kB / 0.9852 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001284/0.2946, allocations: 0.6887 MB / 0.9859 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.782e-05/0.2946, allocations: 4 kB / 0.9859 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.926e-05/0.2946, allocations: 11.44 kB / 0.9859 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of SimCode: time 2.31e-07/0.2946, allocations: 0 / 0.9859 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of Templates: time 0.003929/0.2986, allocations: 1.684 MB / 0.9875 GB, free: 18.96 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1)