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.0009157/0.0009161, allocations: 98.19 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006134/0.006134, allocations: 171.4 kB / 16.27 MB, free: 6.328 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.768/1.768, allocations: 205.4 MB / 222.4 MB, free: 5.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.826/1.826, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0005868/0.0005867, allocations: 15.06 kB / 0.6743 GB, free: 25.78 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3189, allocations: 116.3 MB / 0.7879 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.000985/0.3199, allocations: 406.3 kB / 0.7883 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001579/0.3215, allocations: 1.197 MB / 0.7895 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.164e-05/0.3215, allocations: 0 / 0.7895 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.011e-05/0.3216, allocations: 3.938 kB / 0.7895 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.093e-05/0.3217, allocations: 11.92 kB / 0.7895 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000657/0.3223, allocations: 204.6 kB / 0.7897 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001747/0.3225, allocations: 143.8 kB / 0.7898 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.3226, allocations: 12 kB / 0.7898 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.877e-05/0.3227, allocations: 59.88 kB / 0.7899 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.662e-05/0.3228, allocations: 47.88 kB / 0.7899 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.334e-05/0.3229, allocations: 8 kB / 0.7899 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.258e-05/0.323, allocations: 27.91 kB / 0.7899 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.216e-05/0.323, allocations: 11.92 kB / 0.79 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.152e-05/0.3231, allocations: 69.61 kB / 0.79 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002059/0.3233, allocations: 147.8 kB / 0.7902 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3233, allocations: 4 kB / 0.7902 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3233, allocations: 0 / 0.7902 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.012e-06/0.3233, allocations: 0 / 0.7902 GB, free: 9.184 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.0005044/0.3239, allocations: 402.8 kB / 0.7906 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.255e-05/0.3239, allocations: 12.03 kB / 0.7906 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.074e-05/0.324, allocations: 8.844 kB / 0.7906 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001353/0.3241, allocations: 164.4 kB / 0.7907 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.128e-05/0.3242, allocations: 12.36 kB / 0.7907 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.474e-05/0.3242, allocations: 8.375 kB / 0.7907 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001196/0.3243, allocations: 50.25 kB / 0.7908 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.3243, allocations: 8.109 kB / 0.7908 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.3244, allocations: 7.938 kB / 0.7908 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.3244, allocations: 0 / 0.7908 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.403e-05/0.3244, allocations: 15.98 kB / 0.7908 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005081/0.3249, allocations: 356.6 kB / 0.7912 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.657e-05/0.325, allocations: 38.52 kB / 0.7912 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.478e-05/0.3251, allocations: 16.94 kB / 0.7912 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.868e-06/0.3251, allocations: 3.938 kB / 0.7912 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001521/0.3253, allocations: 79.36 kB / 0.7913 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.3253, allocations: 0 / 0.7913 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0002554/0.3255, allocations: 105.6 kB / 0.7914 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.11e-05/0.3256, allocations: 55.34 kB / 0.7915 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.881e-05/0.3257, allocations: 121.8 kB / 0.7916 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.168e-05/0.3257, allocations: 29.7 kB / 0.7916 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.094e-05/0.3258, allocations: 96.05 kB / 0.7917 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.027e-05/0.3258, allocations: 23.81 kB / 0.7917 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.846e-05/0.3259, allocations: 21.72 kB / 0.7917 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.326, allocations: 318.8 kB / 0.792 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001253/0.3261, allocations: 63.97 kB / 0.7921 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001422/0.3263, allocations: 100.2 kB / 0.7922 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000177/0.3265, allocations: 151.6 kB / 0.7923 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.3265, allocations: 0 / 0.7923 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000398/0.3269, allocations: 261.3 kB / 0.7926 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.068e-05/0.3269, allocations: 71.39 kB / 0.7927 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.327, allocations: 3.938 kB / 0.7927 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.327, allocations: 0 / 0.7927 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.386e-05/0.327, allocations: 11.94 kB / 0.7927 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.327, allocations: 320 / 0.7927 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004125/0.3274, allocations: 83.05 kB / 0.7928 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.974e-05/0.3275, allocations: 8 kB / 0.7928 GB, free: 6.227 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.0001205/0.3276, allocations: 138.4 kB / 0.7929 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.729e-06/0.3276, allocations: 4 kB / 0.7929 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.763e-05/0.3277, allocations: 8.375 kB / 0.7929 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.3277, allocations: 0 / 0.7929 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.3277, allocations: 0 / 0.7929 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.3277, allocations: 0 / 0.7929 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001436/0.3278, allocations: 181.6 kB / 0.7931 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3278, allocations: 0 / 0.7931 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.578e-06/0.3279, allocations: 3.938 kB / 0.7931 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.3279, allocations: 4 kB / 0.7931 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.3279, allocations: 4.062 kB / 0.7931 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3279, allocations: 0 / 0.7931 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.3279, allocations: 4 kB / 0.7931 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000147/0.328, allocations: 120.9 kB / 0.7932 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.717e-05/0.3281, allocations: 81.02 kB / 0.7933 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/0.3281, allocations: 7.984 kB / 0.7933 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.834e-05/0.3281, allocations: 0 / 0.7933 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.913e-05/0.3282, allocations: 4 kB / 0.7933 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.298e-06/0.3282, allocations: 7.984 kB / 0.7933 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.831e-05/0.3282, allocations: 91.28 kB / 0.7934 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.744e-06/0.3282, allocations: 0 / 0.7934 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002297/0.3285, allocations: 31.94 kB / 0.7934 GB, free: 5.453 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.0002245/0.3287, allocations: 107.2 kB / 0.7935 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003681/0.3291, allocations: 246.6 kB / 0.7938 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.3291, allocations: 4 kB / 0.7938 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.858e-05/0.3292, allocations: 24 kB / 0.7938 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000253/0.3294, allocations: 16.52 kB / 0.7938 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003999/0.3298, allocations: 178.6 kB / 0.794 GB, free: 4.828 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003041/0.3301, allocations: 0.6848 MB / 0.7946 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.079e-05/0.3302, allocations: 15.92 kB / 0.7947 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.806e-05/0.3302, allocations: 11.44 kB / 0.7947 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of SimCode: time 2.01e-07/0.3302, allocations: 0 / 0.7947 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of Templates: time 0.0047/0.3349, allocations: 1.74 MB / 0.7964 GB, free: 2.379 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: