Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.957/1.957, allocations: 287.4 MB / 303.2 MB, free: 8.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001051/0.001051, allocations: 186 kB / 371.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.74/1.74, allocations: 205.4 MB / 0.6304 GB, free: 10.56 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008261/0.0008262, allocations: 98.81 kB / 0.7438 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000433/0.000433, allocations: 15.84 kB / 0.8667 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2413/0.2418, allocations: 115.3 MB / 0.9793 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.0009404/0.2428, allocations: 390.4 kB / 0.9797 GB, free: 27.8 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001889/0.2447, allocations: 1.161 MB / 0.9808 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.541e-05/0.2447, allocations: 4 kB / 0.9808 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.432e-05/0.2448, allocations: 7.875 kB / 0.9808 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.062e-05/0.2449, allocations: 7.922 kB / 0.9808 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008747/0.2457, allocations: 189.3 kB / 0.981 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001825/0.2459, allocations: 131.7 kB / 0.9811 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.004e-05/0.246, allocations: 12 kB / 0.9811 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.776e-05/0.2462, allocations: 59.88 kB / 0.9812 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.888e-05/0.2463, allocations: 43.88 kB / 0.9812 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.375e-05/0.2463, allocations: 11.98 kB / 0.9813 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.335e-05/0.2464, allocations: 23.92 kB / 0.9813 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.864e-05/0.2465, allocations: 8 kB / 0.9813 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.359e-05/0.2465, allocations: 41.7 kB / 0.9813 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001618/0.2467, allocations: 104 kB / 0.9814 GB, free: 26 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.2467, allocations: 4 kB / 0.9814 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.974e-06/0.2468, allocations: 0 / 0.9814 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.2468, allocations: 0 / 0.9814 GB, free: 25.99 MB / 0.6198 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.0004332/0.2472, allocations: 406.8 kB / 0.9818 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.2473, allocations: 8.031 kB / 0.9818 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.634e-05/0.2474, allocations: 16.78 kB / 0.9818 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.522e-05/0.2475, allocations: 168.4 kB / 0.982 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.487e-05/0.2475, allocations: 8.375 kB / 0.982 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.376e-05/0.2476, allocations: 8.375 kB / 0.982 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/0.2477, allocations: 50.19 kB / 0.9821 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.2477, allocations: 4.188 kB / 0.9821 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.2478, allocations: 7.922 kB / 0.9821 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.2478, allocations: 0 / 0.9821 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.958e-05/0.2479, allocations: 12 kB / 0.9821 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005557/0.2484, allocations: 356.6 kB / 0.9824 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.769e-05/0.2485, allocations: 42.5 kB / 0.9825 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.197e-05/0.2486, allocations: 12.86 kB / 0.9825 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.953e-06/0.2486, allocations: 0 / 0.9825 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000183/0.2488, allocations: 83.39 kB / 0.9826 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.134e-06/0.2488, allocations: 4 kB / 0.9826 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0002932/0.2491, allocations: 101.6 kB / 0.9827 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.65e-05/0.2492, allocations: 55.39 kB / 0.9827 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.543e-05/0.2493, allocations: 117.8 kB / 0.9828 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.633e-05/0.2493, allocations: 29.7 kB / 0.9829 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.058e-05/0.2494, allocations: 96.05 kB / 0.9829 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.229e-05/0.2495, allocations: 15.88 kB / 0.983 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.729e-05/0.2495, allocations: 4 kB / 0.983 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.617e-05/0.2496, allocations: 322.8 kB / 0.9833 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002191/0.2498, allocations: 63.95 kB / 0.9833 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002324/0.2501, allocations: 92.2 kB / 0.9834 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002553/0.2503, allocations: 160.1 kB / 0.9836 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.2503, allocations: 0 / 0.9836 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006333/0.251, allocations: 264.7 kB / 0.9838 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.001e-05/0.2511, allocations: 67.39 kB / 0.9839 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.2511, allocations: 4 kB / 0.9839 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.2511, allocations: 0 / 0.9839 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.565e-05/0.2511, allocations: 4 kB / 0.9839 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.2512, allocations: 320 / 0.9839 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006495/0.2518, allocations: 86.16 kB / 0.984 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.65e-05/0.2519, allocations: 11.98 kB / 0.984 GB, free: 23.07 MB / 0.6198 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.0001065/0.252, allocations: 133.7 kB / 0.9841 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.808e-05/0.252, allocations: 4 kB / 0.9841 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.244e-05/0.2521, allocations: 12.36 kB / 0.9841 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.2521, allocations: 0 / 0.9841 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.2521, allocations: 4 kB / 0.9841 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.494e-05/0.2522, allocations: 81.02 kB / 0.9842 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.201e-05/0.2522, allocations: 0 / 0.9842 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.364e-05/0.2523, allocations: 8 kB / 0.9842 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.258e-05/0.2523, allocations: 15.98 kB / 0.9842 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001626/0.2525, allocations: 160.9 kB / 0.9844 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002074/0.2527, allocations: 254.7 kB / 0.9846 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.324e-05/0.2528, allocations: 27.97 kB / 0.9847 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.182e-05/0.2528, allocations: 91.27 kB / 0.9847 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of Backend: time 4.2e-07/0.2529, allocations: 0 / 0.9847 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008485/0.2537, allocations: 314 kB / 0.985 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0004897/0.2542, allocations: 0.6135 MB / 0.9856 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of Templates: time 0.005857/0.2601, allocations: 1.729 MB / 0.9873 GB, free: 19.54 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1)