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.0009963/0.0009963, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001284/0.001284, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.465/1.465, allocations: 205.4 MB / 222.1 MB, free: 5.633 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.712/1.712, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0005768/0.000577, allocations: 16.62 kB / 0.6737 GB, free: 26.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.2331, allocations: 116.3 MB / 0.7873 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.0008585/0.234, allocations: 398.4 kB / 0.7877 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001656/0.2357, allocations: 1.162 MB / 0.7888 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.084e-05/0.2358, allocations: 0 / 0.7888 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.898e-05/0.2358, allocations: 3.938 kB / 0.7888 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.695e-05/0.2359, allocations: 11.92 kB / 0.7888 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007703/0.2367, allocations: 203.3 kB / 0.789 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002049/0.2369, allocations: 131.8 kB / 0.7891 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.376e-05/0.237, allocations: 4 kB / 0.7891 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000155/0.2372, allocations: 59.89 kB / 0.7892 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001197/0.2373, allocations: 51.86 kB / 0.7893 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.481e-05/0.2373, allocations: 8 kB / 0.7893 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.977e-05/0.2374, allocations: 19.92 kB / 0.7893 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.199e-05/0.2375, allocations: 8 kB / 0.7893 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.025e-05/0.2375, allocations: 41.7 kB / 0.7893 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002224/0.2378, allocations: 104 kB / 0.7894 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.2378, allocations: 0 / 0.7894 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.763e-06/0.2378, allocations: 0 / 0.7894 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.2378, allocations: 0 / 0.7894 GB, free: 9.73 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.0005702/0.2384, allocations: 410.6 kB / 0.7898 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.2384, allocations: 8.031 kB / 0.7898 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.772e-05/0.2385, allocations: 11.91 kB / 0.7898 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001548/0.2387, allocations: 175 kB / 0.79 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.318e-05/0.2387, allocations: 8 kB / 0.79 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.339e-05/0.2388, allocations: 12 kB / 0.79 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001223/0.2389, allocations: 45.69 kB / 0.7901 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.2389, allocations: 0 / 0.7901 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.2389, allocations: 11.92 kB / 0.7901 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.239, allocations: 0 / 0.7901 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.375e-05/0.239, allocations: 15.94 kB / 0.7901 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005554/0.2396, allocations: 360.6 kB / 0.7904 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.334e-05/0.2397, allocations: 38.56 kB / 0.7905 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.803e-05/0.2397, allocations: 12.86 kB / 0.7905 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.705e-06/0.2397, allocations: 0 / 0.7905 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001865/0.2399, allocations: 83.41 kB / 0.7906 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.2399, allocations: 0 / 0.7906 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0002403/0.2402, allocations: 97.58 kB / 0.7907 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.814e-05/0.2402, allocations: 63.39 kB / 0.7907 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.988e-05/0.2403, allocations: 118 kB / 0.7908 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.856e-05/0.2404, allocations: 29.7 kB / 0.7909 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.011e-05/0.2404, allocations: 92.31 kB / 0.791 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.619e-05/0.2404, allocations: 11.8 kB / 0.791 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.778e-05/0.2405, allocations: 8 kB / 0.791 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.2406, allocations: 322.8 kB / 0.7913 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001211/0.2407, allocations: 59.89 kB / 0.7913 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001794/0.2409, allocations: 96.27 kB / 0.7914 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001356/0.2411, allocations: 107.9 kB / 0.7915 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.2411, allocations: 0 / 0.7915 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004157/0.2415, allocations: 264.8 kB / 0.7918 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001028/0.2416, allocations: 71.42 kB / 0.7918 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.2416, allocations: 4 kB / 0.7919 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.2416, allocations: 0 / 0.7919 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.413e-05/0.2417, allocations: 7.938 kB / 0.7919 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.2417, allocations: 4.297 kB / 0.7919 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003586/0.242, allocations: 79.03 kB / 0.7919 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.203e-05/0.2421, allocations: 15.97 kB / 0.792 GB, free: 6.855 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,$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.0001538/0.2422, allocations: 125.7 kB / 0.7921 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.388e-05/0.2423, allocations: 7.906 kB / 0.7921 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.076e-05/0.2423, allocations: 12.38 kB / 0.7921 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.2423, allocations: 4 kB / 0.7921 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.2423, allocations: 0 / 0.7921 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.276e-06/0.2423, allocations: 3.984 kB / 0.7921 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001394/0.2425, allocations: 177.5 kB / 0.7923 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2425, allocations: 0 / 0.7923 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.12e-05/0.2425, allocations: 0 / 0.7923 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.2425, allocations: 3.938 kB / 0.7923 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.2425, allocations: 4 kB / 0.7923 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/0.2425, allocations: 7.969 kB / 0.7923 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2425, allocations: 4 kB / 0.7923 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001623/0.2427, allocations: 113 kB / 0.7924 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.683e-05/0.2428, allocations: 85 kB / 0.7925 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.823e-05/0.2428, allocations: 4.062 kB / 0.7925 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.093e-05/0.2428, allocations: 4 kB / 0.7925 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.606e-05/0.2429, allocations: 7.984 kB / 0.7925 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.2429, allocations: 4 kB / 0.7925 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.822e-05/0.2429, allocations: 91.27 kB / 0.7926 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2429, allocations: 4 kB / 0.7926 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002487/0.2432, allocations: 32 kB / 0.7926 GB, free: 6.078 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 (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.0001808/0.2434, allocations: 103.2 kB / 0.7927 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000337/0.2437, allocations: 243 kB / 0.793 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2437, allocations: 0 / 0.793 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.977e-05/0.2438, allocations: 27.98 kB / 0.793 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002434/0.244, allocations: 24.12 kB / 0.793 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003292/0.2444, allocations: 167.4 kB / 0.7932 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003144/0.2447, allocations: 0.6887 MB / 0.7938 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.31e-05/0.2447, allocations: 8 kB / 0.7938 GB, free: 4.738 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.847e-05/0.2448, allocations: 15.38 kB / 0.7939 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of SimCode: time 2e-07/0.2448, allocations: 0 / 0.7939 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of Templates: time 0.004505/0.2493, allocations: 1.68 MB / 0.7955 GB, free: 3.07 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: