Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.7.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.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.472/1.472, allocations: 252 MB / 267.6 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001518/0.001518, allocations: 183.5 kB / 327.3 MB, free: 2.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.733/1.733, allocations: 205.4 MB / 0.5783 GB, free: 20.55 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007548/0.0007548, allocations: 88.08 kB / 0.6829 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.00031/0.00031, allocations: 15.59 kB / 0.797 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2011/0.2014, allocations: 106.3 MB / 0.9008 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001349/0.2028, allocations: 1.092 MB / 0.9019 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003402/0.2031, allocations: 193.5 kB / 0.9021 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.495e-05/0.2032, allocations: 0 / 0.9021 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.485e-05/0.2032, allocations: 3.984 kB / 0.9021 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.159e-05/0.2033, allocations: 19.92 kB / 0.9021 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001266/0.2034, allocations: 11.92 kB / 0.9021 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.569e-05/0.2035, allocations: 51.86 kB / 0.9022 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.83e-05/0.2036, allocations: 7.984 kB / 0.9022 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.479e-05/0.2037, allocations: 19.88 kB / 0.9022 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.88e-05/0.2037, allocations: 23.89 kB / 0.9022 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.981e-05/0.2038, allocations: 4 kB / 0.9022 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.181e-05/0.2038, allocations: 0 / 0.9022 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.278e-05/0.2038, allocations: 4 kB / 0.9022 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.861e-05/0.2038, allocations: 41.64 kB / 0.9023 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.977e-05/0.2039, allocations: 31.92 kB / 0.9023 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2039, allocations: 0 / 0.9023 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2039, allocations: 3.938 kB / 0.9023 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.2039, allocations: 0 / 0.9023 GB, free: 62.76 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000456/0.2044, allocations: 379.4 kB / 0.9027 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.2044, allocations: 12.02 kB / 0.9027 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.894e-05/0.2045, allocations: 4 kB / 0.9027 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.513e-05/0.2046, allocations: 174.9 kB / 0.9029 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.2046, allocations: 0 / 0.9029 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.466e-05/0.2046, allocations: 8 kB / 0.9029 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.447e-05/0.2047, allocations: 45.67 kB / 0.9029 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.445e-06/0.2047, allocations: 0 / 0.9029 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.2047, allocations: 8 kB / 0.9029 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.2047, allocations: 0 / 0.9029 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.497e-05/0.2048, allocations: 31.91 kB / 0.9029 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003251/0.2051, allocations: 272.9 kB / 0.9032 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.343e-05/0.2052, allocations: 46.56 kB / 0.9032 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.757e-05/0.2053, allocations: 20.92 kB / 0.9033 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/0.2053, allocations: 3.984 kB / 0.9033 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000137/0.2054, allocations: 75.33 kB / 0.9033 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.2054, allocations: 0 / 0.9033 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0002039/0.2056, allocations: 81.89 kB / 0.9034 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.774e-05/0.2057, allocations: 59.41 kB / 0.9035 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.283e-05/0.2058, allocations: 121.8 kB / 0.9036 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/0.2058, allocations: 29.7 kB / 0.9036 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.982e-05/0.2058, allocations: 88.14 kB / 0.9037 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.37e-05/0.2058, allocations: 11.81 kB / 0.9037 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.93e-06/0.2058, allocations: 4 kB / 0.9037 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.777e-05/0.2059, allocations: 318.8 kB / 0.904 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.609e-05/0.2059, allocations: 15.94 kB / 0.904 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.498e-05/0.206, allocations: 34.56 kB / 0.9041 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.693e-05/0.206, allocations: 12 kB / 0.9041 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.206, allocations: 4 kB / 0.9041 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 9.105e-05/0.2061, allocations: 81.52 kB / 0.9042 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.2061, allocations: 8 kB / 0.9042 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.2061, allocations: 0 / 0.9042 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.2061, allocations: 0 / 0.9042 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.794e-05/0.2062, allocations: 7.938 kB / 0.9042 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.2062, allocations: 7.938 kB / 0.9042 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.965e-05/0.2063, allocations: 23.94 kB / 0.9042 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.702e-06/0.2063, allocations: 11.98 kB / 0.9042 GB, free: 60.57 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,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): 9 * Array equations: 0 * Algorithm blocks: 0 * 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 5.889e-05/0.2064, allocations: 116.4 kB / 0.9043 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.069e-05/0.2064, allocations: 7.906 kB / 0.9043 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.738e-05/0.2064, allocations: 12.36 kB / 0.9044 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.2064, allocations: 0 / 0.9044 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.2064, allocations: 0 / 0.9044 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.2065, allocations: 0 / 0.9044 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.383e-05/0.2066, allocations: 177.6 kB / 0.9045 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.2066, allocations: 4 kB / 0.9045 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.027e-06/0.2066, allocations: 8 kB / 0.9045 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.2066, allocations: 0 / 0.9045 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.2066, allocations: 0 / 0.9045 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.2066, allocations: 0 / 0.9045 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.2066, allocations: 192 / 0.9045 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.783e-05/0.2067, allocations: 108.9 kB / 0.9046 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.013e-05/0.2067, allocations: 85.05 kB / 0.9047 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.2068, allocations: 0 / 0.9047 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.018e-05/0.2068, allocations: 15.98 kB / 0.9047 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.186e-05/0.2069, allocations: 11.98 kB / 0.9047 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.2069, allocations: 7.984 kB / 0.9048 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.957e-05/0.2069, allocations: 87.28 kB / 0.9048 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2069, allocations: 0 / 0.9048 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001822/0.2071, allocations: 12 kB / 0.9048 GB, free: 59.83 MB / 0.6042 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 ($whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,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 9.289e-05/0.2072, allocations: 103.2 kB / 0.9049 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001012/0.2073, allocations: 51.91 kB / 0.905 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.2073, allocations: 0 / 0.905 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.209e-05/0.2074, allocations: 16.86 kB / 0.905 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002124/0.2076, allocations: 23.88 kB / 0.905 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003068/0.2079, allocations: 206.2 kB / 0.9052 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.508e-05/0.208, allocations: 0.6848 MB / 0.9059 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.633e-05/0.2081, allocations: 11.44 kB / 0.9059 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of SimCode: time 2.31e-07/0.2081, allocations: 0 / 0.9059 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of Templates: time 0.001816/0.2099, allocations: 0.9023 MB / 0.9068 GB, free: 57.77 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1)