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/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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008704/0.008705, allocations: 102.3 kB / 15.73 MB, free: 6.055 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.001684/0.001684, allocations: 191 kB / 16.67 MB, free: 5.969 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.722/1.722, allocations: 205.1 MB / 222.5 MB, free: 4.496 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.696/1.696, allocations: 251.7 MB / 0.5094 GB, free: 2.922 MB / 414.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.001414/0.001414, allocations: 63.91 kB / 0.7258 GB, free: 8.973 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2408/0.2423, allocations: 104.7 MB / 0.8281 GB, free: 164 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.002775/0.2451, allocations: 1.375 MB / 0.8294 GB, free: 14.78 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0005161/0.2456, allocations: 208.6 kB / 0.8296 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.85e-05/0.2457, allocations: 0 / 0.8296 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.883e-05/0.2458, allocations: 4 kB / 0.8296 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001026/0.2459, allocations: 15.81 kB / 0.8296 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001772/0.2461, allocations: 23.91 kB / 0.8296 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001127/0.2462, allocations: 59.78 kB / 0.8297 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001418/0.2463, allocations: 15.98 kB / 0.8297 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 5.423e-05/0.2464, allocations: 12 kB / 0.8297 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.653e-05/0.2465, allocations: 23.84 kB / 0.8298 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.703e-05/0.2465, allocations: 4 kB / 0.8298 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.624e-05/0.2465, allocations: 8 kB / 0.8298 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.892e-05/0.2465, allocations: 11.98 kB / 0.8298 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.785e-05/0.2466, allocations: 19.88 kB / 0.8298 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001235/0.2467, allocations: 63.72 kB / 0.8299 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.533e-06/0.2467, allocations: 0 / 0.8299 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.545e-06/0.2468, allocations: 0 / 0.8299 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.2468, allocations: 0 / 0.8299 GB, free: 14.31 MB / 0.6544 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.0007215/0.2475, allocations: 371.2 kB / 0.8302 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.2475, allocations: 12.03 kB / 0.8302 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.617e-05/0.2476, allocations: 8.828 kB / 0.8302 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001747/0.2478, allocations: 164.4 kB / 0.8304 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.2478, allocations: 4.375 kB / 0.8304 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.928e-05/0.2478, allocations: 4.375 kB / 0.8304 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.248, allocations: 50.23 kB / 0.8304 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.248, allocations: 4.188 kB / 0.8304 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.742e-05/0.248, allocations: 7.938 kB / 0.8305 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.317e-06/0.248, allocations: 0 / 0.8305 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.425e-05/0.2481, allocations: 27.92 kB / 0.8305 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005039/0.2486, allocations: 284.7 kB / 0.8308 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001145/0.2488, allocations: 46.5 kB / 0.8308 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.152e-05/0.2488, allocations: 20.98 kB / 0.8308 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/0.2488, allocations: 4 kB / 0.8308 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001874/0.249, allocations: 71.31 kB / 0.8309 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.249, allocations: 0 / 0.8309 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0002464/0.2493, allocations: 77.69 kB / 0.831 GB, free: 13 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.978e-05/0.2494, allocations: 55.41 kB / 0.831 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.2495, allocations: 125.8 kB / 0.8311 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.526e-05/0.2495, allocations: 29.7 kB / 0.8312 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.564e-05/0.2496, allocations: 92.08 kB / 0.8312 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.19e-05/0.2496, allocations: 11.81 kB / 0.8313 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.895e-05/0.2497, allocations: 25.7 kB / 0.8313 GB, free: 12.63 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.2498, allocations: 318.8 kB / 0.8316 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.502e-05/0.2499, allocations: 11.98 kB / 0.8316 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.338e-05/0.2499, allocations: 38.52 kB / 0.8316 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.326e-05/0.25, allocations: 59.05 kB / 0.8317 GB, free: 12.19 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.25, allocations: 0 / 0.8317 GB, free: 12.19 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001168/0.2501, allocations: 73.62 kB / 0.8318 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.2502, allocations: 8 kB / 0.8318 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.2502, allocations: 0 / 0.8318 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.172e-05/0.2502, allocations: 0 / 0.8318 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.018e-05/0.2503, allocations: 4 kB / 0.8318 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.2503, allocations: 4 kB / 0.8318 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.951e-05/0.2504, allocations: 19.95 kB / 0.8318 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.2504, allocations: 7.938 kB / 0.8318 GB, free: 12.07 MB / 0.6544 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,nand1.y,booPul2.pulseStart,$PRE.booPul2.pulseStart,booPul2.y,booPul1.pulseStart,$PRE.booPul1.pulseStart,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): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.0001231/0.2505, allocations: 121.7 kB / 0.8319 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.209e-05/0.2506, allocations: 4 kB / 0.8319 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.636e-05/0.2506, allocations: 12.36 kB / 0.8319 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.2506, allocations: 0 / 0.8319 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.2506, allocations: 0 / 0.8319 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.2506, allocations: 4 kB / 0.8319 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001711/0.2508, allocations: 189.4 kB / 0.8321 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2508, allocations: 0 / 0.8321 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.199e-05/0.2508, allocations: 8 kB / 0.8321 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.2508, allocations: 0 / 0.8321 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.2509, allocations: 4 kB / 0.8321 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.2509, allocations: 0 / 0.8321 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.2509, allocations: 0 / 0.8321 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000156/0.251, allocations: 101 kB / 0.8322 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.328e-05/0.2511, allocations: 85.02 kB / 0.8323 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.232e-05/0.2511, allocations: 0 / 0.8323 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.1e-05/0.2512, allocations: 15.92 kB / 0.8323 GB, free: 11.44 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.416e-05/0.2513, allocations: 11.98 kB / 0.8323 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-06/0.2513, allocations: 0 / 0.8323 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 7.506e-05/0.2514, allocations: 91.27 kB / 0.8324 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2514, allocations: 0 / 0.8324 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001956/0.2516, allocations: 16 kB / 0.8324 GB, free: 11.32 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 ($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 (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.0002041/0.2518, allocations: 102.5 kB / 0.8325 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001775/0.252, allocations: 47.91 kB / 0.8326 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.252, allocations: 0 / 0.8326 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.705e-05/0.2521, allocations: 27.98 kB / 0.8326 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002846/0.2524, allocations: 20.06 kB / 0.8326 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004195/0.2528, allocations: 146.3 kB / 0.8328 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002999/0.2531, allocations: 0.6952 MB / 0.8334 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.8e-05/0.2531, allocations: 7.859 kB / 0.8335 GB, free: 10.22 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.472e-05/0.2532, allocations: 19.38 kB / 0.8335 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of SimCode: time 2.4e-07/0.2532, allocations: 0 / 0.8335 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of Templates: time 0.003433/0.2566, allocations: 0.905 MB / 0.8344 GB, free: 9.309 MB / 0.6544 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)