Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.392/2.392, allocations: 251.3 MB / 266.2 MB, free: 11.51 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00144/0.00144, allocations: 174.5 kB / 325.8 MB, free: 2.781 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.054/3.054, allocations: 205.4 MB / 0.5767 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001373/0.001373, allocations: 90.34 kB / 0.6812 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006066/0.0006068, allocations: 11.59 kB / 0.7953 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2335/0.2341, allocations: 106.3 MB / 0.899 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.002315/0.2365, allocations: 1.099 MB / 0.9001 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006616/0.2372, allocations: 193.5 kB / 0.9003 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.614e-05/0.2373, allocations: 0 / 0.9003 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.422e-05/0.2373, allocations: 7.922 kB / 0.9003 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001085/0.2375, allocations: 7.938 kB / 0.9003 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001805/0.2377, allocations: 19.97 kB / 0.9003 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001236/0.2378, allocations: 51.8 kB / 0.9004 GB, free: 64 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.238, allocations: 11.98 kB / 0.9004 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.736e-05/0.2381, allocations: 15.94 kB / 0.9004 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.355e-05/0.2381, allocations: 19.91 kB / 0.9004 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.314e-05/0.2382, allocations: 4 kB / 0.9004 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.89e-05/0.2382, allocations: 0 / 0.9004 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.072e-05/0.2383, allocations: 4 kB / 0.9004 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.399e-05/0.2383, allocations: 37.64 kB / 0.9005 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.771e-05/0.2385, allocations: 39.91 kB / 0.9005 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.2385, allocations: 0 / 0.9005 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.414e-06/0.2385, allocations: 0 / 0.9005 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.2385, allocations: 0 / 0.9005 GB, free: 63.86 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.000786/0.2393, allocations: 377.3 kB / 0.9009 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.2394, allocations: 16.03 kB / 0.9009 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.181e-05/0.2395, allocations: 4.922 kB / 0.9009 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.2396, allocations: 172.2 kB / 0.9011 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.353e-05/0.2397, allocations: 8.375 kB / 0.9011 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.285e-05/0.2397, allocations: 4.375 kB / 0.9011 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/0.2399, allocations: 50.23 kB / 0.9011 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.24, allocations: 4.125 kB / 0.9011 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.065e-05/0.24, allocations: 7.938 kB / 0.9011 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.24, allocations: 3.984 kB / 0.9011 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001235/0.2402, allocations: 16 kB / 0.9012 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005912/0.2408, allocations: 284.9 kB / 0.9014 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001606/0.241, allocations: 46.5 kB / 0.9015 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.179e-05/0.241, allocations: 20.92 kB / 0.9015 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.2411, allocations: 0 / 0.9015 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002224/0.2413, allocations: 75.38 kB / 0.9016 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 3.146e-06/0.2413, allocations: 0 / 0.9016 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.00037/0.2417, allocations: 81.59 kB / 0.9016 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/0.2418, allocations: 55.41 kB / 0.9017 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.2419, allocations: 121.8 kB / 0.9018 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.3e-05/0.242, allocations: 25.7 kB / 0.9018 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.556e-05/0.242, allocations: 84.14 kB / 0.9019 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.213e-05/0.2421, allocations: 19.81 kB / 0.9019 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.928e-06/0.2421, allocations: 8 kB / 0.9019 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.893e-05/0.2422, allocations: 318.8 kB / 0.9022 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.707e-05/0.2423, allocations: 12 kB / 0.9023 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.997e-05/0.2424, allocations: 34.56 kB / 0.9023 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.963e-05/0.2425, allocations: 16.56 kB / 0.9023 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.2425, allocations: 0 / 0.9023 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00024/0.2428, allocations: 85.52 kB / 0.9024 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/0.2428, allocations: 10.03 kB / 0.9024 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.2429, allocations: 0 / 0.9024 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.2429, allocations: 0 / 0.9024 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.756e-05/0.243, allocations: 11.94 kB / 0.9024 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.243, allocations: 0 / 0.9024 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002195/0.2433, allocations: 23.92 kB / 0.9024 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.443e-05/0.2433, allocations: 7.938 kB / 0.9024 GB, free: 61.67 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 0.0001112/0.2434, allocations: 125.8 kB / 0.9026 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.706e-05/0.2435, allocations: 7.906 kB / 0.9026 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.615e-05/0.2435, allocations: 8.375 kB / 0.9026 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.2436, allocations: 0 / 0.9026 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.2436, allocations: 0 / 0.9026 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.2436, allocations: 0 / 0.9026 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002331/0.2438, allocations: 181.6 kB / 0.9027 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.2439, allocations: 0 / 0.9027 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.948e-05/0.2439, allocations: 0 / 0.9027 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.2439, allocations: 8 kB / 0.9027 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.903e-05/0.244, allocations: 4 kB / 0.9028 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.244, allocations: 3.938 kB / 0.9028 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.244, allocations: 0 / 0.9028 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002472/0.2443, allocations: 97.05 kB / 0.9028 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.326e-05/0.2443, allocations: 85.02 kB / 0.9029 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.976e-05/0.2444, allocations: 0 / 0.9029 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002041/0.2446, allocations: 15.98 kB / 0.9029 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.276e-05/0.2447, allocations: 15.98 kB / 0.903 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/0.2447, allocations: 0 / 0.903 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.727e-05/0.2448, allocations: 91.27 kB / 0.903 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6.41e-07/0.2448, allocations: 0 / 0.903 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004206/0.2453, allocations: 8.188 kB / 0.9031 GB, free: 60.93 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 0.0001563/0.2455, allocations: 103.2 kB / 0.9032 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002299/0.2457, allocations: 47.86 kB / 0.9032 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.2457, allocations: 0 / 0.9032 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000119/0.2459, allocations: 35.91 kB / 0.9032 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005033/0.2464, allocations: 15.92 kB / 0.9032 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005575/0.247, allocations: 170.6 kB / 0.9034 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001859/0.2472, allocations: 0.6856 MB / 0.9041 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 6.653e-05/0.2473, allocations: 7.859 kB / 0.9041 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.356e-05/0.2473, allocations: 11.44 kB / 0.9041 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of SimCode: time 1.152e-06/0.2474, allocations: 0 / 0.9041 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of Templates: time 0.006051/0.2534, allocations: 0.7622 MB / 0.9048 GB, free: 59.05 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1)