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.001368/0.001368, allocations: 108.5 kB / 16.37 MB, free: 6.465 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.001592/0.001592, allocations: 189.8 kB / 17.31 MB, free: 5.809 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.484/1.484, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.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.808/1.808, allocations: 292.3 MB / 0.5496 GB, free: 17.49 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.001496/0.001496, allocations: 75.75 kB / 0.6729 GB, free: 5.855 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2406/0.2422, allocations: 114.6 MB / 0.7848 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.002018/0.2442, allocations: 0.6746 MB / 0.7855 GB, free: 2.496 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001419/0.2457, allocations: 1.18 MB / 0.7866 GB, free: 1.301 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.189e-05/0.2457, allocations: 0 / 0.7866 GB, free: 1.301 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.266e-05/0.2458, allocations: 3.938 kB / 0.7866 GB, free: 1.297 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.015e-05/0.2459, allocations: 19.84 kB / 0.7866 GB, free: 1.277 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006467/0.2465, allocations: 220.7 kB / 0.7869 GB, free: 1.066 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002193/0.2467, allocations: 171.8 kB / 0.787 GB, free: 0.8984 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.2469, allocations: 19.92 kB / 0.787 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.051e-05/0.247, allocations: 67.94 kB / 0.7871 GB, free: 0.8125 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001287/0.2471, allocations: 67.78 kB / 0.7872 GB, free: 0.7461 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.133e-05/0.2471, allocations: 16 kB / 0.7872 GB, free: 0.7305 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 8.38e-05/0.2472, allocations: 31.92 kB / 0.7872 GB, free: 0.6992 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.126e-05/0.2473, allocations: 7.984 kB / 0.7872 GB, free: 0.6914 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 8.012e-05/0.2473, allocations: 55.83 kB / 0.7873 GB, free: 0.6367 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002002/0.2475, allocations: 151.6 kB / 0.7874 GB, free: 500 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.2476, allocations: 0 / 0.7874 GB, free: 500 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.763e-06/0.2476, allocations: 0 / 0.7874 GB, free: 500 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.2476, allocations: 3.938 kB / 0.7874 GB, free: 496 kB / 0.6544 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.0005165/0.2481, allocations: 430.8 kB / 0.7878 GB, free: 0 / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.075e-05/0.6302, allocations: 7.734 kB / 0.7878 GB, free: 48.91 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001547/0.6304, allocations: 11.47 kB / 0.7879 GB, free: 48.91 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.6305, allocations: 174.5 kB / 0.788 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.231e-05/0.6306, allocations: 5.031 kB / 0.788 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.24e-05/0.6306, allocations: 9.094 kB / 0.788 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/0.6308, allocations: 53.64 kB / 0.7881 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.6308, allocations: 192 / 0.7881 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.6308, allocations: 6.625 kB / 0.7881 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.174e-05/0.6309, allocations: 2.625 kB / 0.7881 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.088e-05/0.6309, allocations: 10.97 kB / 0.7881 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005772/0.6315, allocations: 358.3 kB / 0.7884 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001115/0.6317, allocations: 37.22 kB / 0.7885 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.064e-05/0.6317, allocations: 14.05 kB / 0.7885 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.55e-05/0.6317, allocations: 4.125 kB / 0.7885 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001804/0.6319, allocations: 86.78 kB / 0.7886 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 2.385e-06/0.632, allocations: 0 / 0.7886 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0003166/0.6323, allocations: 103.2 kB / 0.7887 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.405e-05/0.6323, allocations: 54.03 kB / 0.7887 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.298e-05/0.6324, allocations: 113 kB / 0.7888 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.826e-05/0.6325, allocations: 34.28 kB / 0.7889 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.178e-05/0.6326, allocations: 94.77 kB / 0.789 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.095e-05/0.6326, allocations: 14.38 kB / 0.789 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001424/0.6328, allocations: 49.81 kB / 0.789 GB, free: 48 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.537e-05/0.6328, allocations: 318 kB / 0.7893 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002097/0.6331, allocations: 64.67 kB / 0.7894 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002145/0.6333, allocations: 98.34 kB / 0.7895 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002834/0.6336, allocations: 154.1 kB / 0.7896 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/0.6336, allocations: 4.594 kB / 0.7896 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006829/0.6343, allocations: 268.2 kB / 0.7899 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.887e-05/0.6344, allocations: 63.55 kB / 0.7899 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.6344, allocations: 2.812 kB / 0.79 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.215e-05/0.6344, allocations: 1.719 kB / 0.79 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.412e-05/0.6345, allocations: 6.484 kB / 0.79 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/0.6345, allocations: 3.328 kB / 0.79 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005702/0.6351, allocations: 54.31 kB / 0.79 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.185e-05/0.6352, allocations: 15.09 kB / 0.79 GB, free: 47.38 MB / 0.6544 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.0001163/0.6353, allocations: 124.6 kB / 0.7901 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.6353, allocations: 6.812 kB / 0.7902 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.059e-05/0.6354, allocations: 14.59 kB / 0.7902 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.125e-06/0.6354, allocations: 2.75 kB / 0.7902 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.6354, allocations: 0 / 0.7902 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.6354, allocations: 0 / 0.7902 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001507/0.6356, allocations: 179.5 kB / 0.7903 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.6356, allocations: 2.625 kB / 0.7903 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.348e-05/0.6356, allocations: 1.125 kB / 0.7903 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.6357, allocations: 3.719 kB / 0.7903 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.6357, allocations: 4.453 kB / 0.7904 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.6357, allocations: 5.344 kB / 0.7904 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.6357, allocations: 0.9062 kB / 0.7904 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001939/0.6359, allocations: 115.8 kB / 0.7905 GB, free: 47 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.061e-05/0.636, allocations: 83.22 kB / 0.7905 GB, free: 46.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.642e-05/0.636, allocations: 6.969 kB / 0.7906 GB, free: 46.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.766e-05/0.636, allocations: 0 / 0.7906 GB, free: 46.9 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.587e-05/0.6361, allocations: 5.203 kB / 0.7906 GB, free: 46.9 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/0.6361, allocations: 10.75 kB / 0.7906 GB, free: 46.9 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.091e-05/0.6362, allocations: 90.59 kB / 0.7907 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.71e-07/0.6362, allocations: 0 / 0.7907 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004405/0.6367, allocations: 33.81 kB / 0.7907 GB, free: 46.82 MB / 0.6544 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.0001871/0.6369, allocations: 101.5 kB / 0.7908 GB, free: 46.74 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004844/0.6374, allocations: 254 kB / 0.791 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.6374, allocations: 0 / 0.791 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.143e-05/0.6375, allocations: 31.25 kB / 0.7911 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003917/0.6379, allocations: 11.25 kB / 0.7911 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004549/0.6384, allocations: 190 kB / 0.7912 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000128/0.6385, allocations: 0.6838 MB / 0.7919 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.341e-05/0.6386, allocations: 20.22 kB / 0.7919 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of SimCode: time 5e-07/0.6386, allocations: 0 / 0.7919 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of Templates: time 0.004704/0.6433, allocations: 1.374 MB / 0.7933 GB, free: 45.7 MB / 0.6544 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)