Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Controls.OBC.CDL.Logical.Validation.Nand") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 188 kB / 16.62 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.646/1.646, allocations: 205.1 MB / 222.5 MB, free: 4.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.884/1.884, allocations: 292.3 MB / 0.549 GB, free: 12.78 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 76.55 kB / 0.6723 GB, free: 26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2398/0.2412, allocations: 114.5 MB / 0.7841 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.002136/0.2434, allocations: 0.6706 MB / 0.7848 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001532/0.245, allocations: 1.195 MB / 0.786 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.364e-05/0.245, allocations: 0 / 0.786 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.991e-05/0.2451, allocations: 3.938 kB / 0.786 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.797e-05/0.2451, allocations: 7.922 kB / 0.786 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006262/0.2458, allocations: 217.5 kB / 0.7862 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002083/0.246, allocations: 183.8 kB / 0.7864 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.125e-05/0.2461, allocations: 8 kB / 0.7864 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.679e-05/0.2462, allocations: 75.81 kB / 0.7864 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001222/0.2463, allocations: 59.84 kB / 0.7865 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.109e-05/0.2464, allocations: 19.98 kB / 0.7865 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.354e-05/0.2464, allocations: 24 kB / 0.7865 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.152e-05/0.2465, allocations: 11.92 kB / 0.7865 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.947e-05/0.2465, allocations: 55.89 kB / 0.7866 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001824/0.2467, allocations: 155.5 kB / 0.7867 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2467, allocations: 4 kB / 0.7867 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2468, allocations: 0 / 0.7867 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.313e-06/0.2468, allocations: 0 / 0.7867 GB, free: 10.04 MB / 0.6075 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.0004997/0.2473, allocations: 434.7 kB / 0.7872 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.2473, allocations: 12.03 kB / 0.7872 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.817e-05/0.2474, allocations: 8.938 kB / 0.7872 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.2475, allocations: 172.2 kB / 0.7873 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.2475, allocations: 4.375 kB / 0.7874 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.788e-05/0.2475, allocations: 8.375 kB / 0.7874 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001093/0.2477, allocations: 62.23 kB / 0.7874 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.2477, allocations: 192 / 0.7874 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.2477, allocations: 3.938 kB / 0.7874 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.2477, allocations: 0 / 0.7874 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.974e-05/0.2477, allocations: 15.98 kB / 0.7874 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004261/0.2482, allocations: 356.7 kB / 0.7878 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.655e-05/0.2483, allocations: 38.45 kB / 0.7878 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.863e-05/0.2483, allocations: 24.94 kB / 0.7878 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.127e-06/0.2483, allocations: 0 / 0.7878 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001446/0.2485, allocations: 75.38 kB / 0.7879 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/0.2485, allocations: 0 / 0.7879 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0002303/0.2487, allocations: 101.5 kB / 0.788 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.699e-05/0.2488, allocations: 59.34 kB / 0.7881 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.406e-05/0.2488, allocations: 125.7 kB / 0.7882 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.948e-05/0.2489, allocations: 29.7 kB / 0.7882 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.911e-05/0.2489, allocations: 92.12 kB / 0.7883 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.613e-05/0.249, allocations: 15.81 kB / 0.7883 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.773e-05/0.2491, allocations: 49.69 kB / 0.7884 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.2492, allocations: 322.8 kB / 0.7887 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001214/0.2493, allocations: 55.97 kB / 0.7887 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001369/0.2495, allocations: 100.2 kB / 0.7888 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001766/0.2497, allocations: 151.6 kB / 0.789 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.2497, allocations: 4 kB / 0.789 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003876/0.2501, allocations: 261.4 kB / 0.7892 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.719e-05/0.2501, allocations: 67.39 kB / 0.7893 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.2501, allocations: 8 kB / 0.7893 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.2502, allocations: 3.938 kB / 0.7893 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.065e-05/0.2502, allocations: 4 kB / 0.7893 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.2502, allocations: 3.984 kB / 0.7893 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003081/0.2505, allocations: 51.97 kB / 0.7894 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.01e-05/0.2505, allocations: 12 kB / 0.7894 GB, free: 7.055 MB / 0.6075 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 0.0001054/0.2507, allocations: 141.6 kB / 0.7895 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.241e-05/0.2507, allocations: 3.906 kB / 0.7895 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.398e-05/0.2507, allocations: 8.375 kB / 0.7895 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.2507, allocations: 0 / 0.7895 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.2507, allocations: 0 / 0.7895 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.2507, allocations: 0 / 0.7895 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001324/0.2509, allocations: 181.6 kB / 0.7897 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2509, allocations: 4 kB / 0.7897 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.674e-06/0.2509, allocations: 0 / 0.7897 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.2509, allocations: 0 / 0.7897 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.2509, allocations: 4 kB / 0.7897 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.2509, allocations: 0 / 0.7897 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.2509, allocations: 0 / 0.7897 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001311/0.251, allocations: 118 kB / 0.7898 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.005e-05/0.2511, allocations: 85 kB / 0.7899 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.688e-05/0.2511, allocations: 4 kB / 0.7899 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.083e-05/0.2512, allocations: 11.92 kB / 0.7899 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.134e-05/0.2512, allocations: 8 kB / 0.7899 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.2512, allocations: 0 / 0.7899 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.585e-05/0.2513, allocations: 91.27 kB / 0.79 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2513, allocations: 0 / 0.79 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002221/0.2515, allocations: 28 kB / 0.79 GB, free: 6.285 MB / 0.6075 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.000146/0.2516, allocations: 107.2 kB / 0.7901 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003252/0.252, allocations: 246.6 kB / 0.7904 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.252, allocations: 4 kB / 0.7904 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.623e-05/0.252, allocations: 27.94 kB / 0.7904 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002125/0.2523, allocations: 20.2 kB / 0.7904 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003062/0.2526, allocations: 154.7 kB / 0.7906 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002403/0.2528, allocations: 0.6992 MB / 0.7912 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.506e-05/0.2529, allocations: 7.781 kB / 0.7912 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.691e-05/0.2529, allocations: 11.44 kB / 0.7913 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.2529, allocations: 0 / 0.7913 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of Templates: time 0.004047/0.2569, allocations: 1.846 MB / 0.7931 GB, free: 3.109 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nand -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1)