Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.388/2.388, allocations: 251.1 MB / 266.7 MB, free: 11.56 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.002601/0.0026, allocations: 180.7 kB / 326.2 MB, free: 2.855 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.416/2.416, allocations: 205.4 MB / 0.5772 GB, free: 20.76 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.001436/0.001436, allocations: 110.1 kB / 0.6817 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004881/0.0004884, allocations: 11.94 kB / 0.7957 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2281/0.2287, allocations: 106.3 MB / 0.8995 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2311/0.4598, allocations: 131.3 MB / 1.028 GB, free: 14.1 MB / 0.6824 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000287/0.4602, allocations: 75.94 kB / 1.028 GB, free: 14.02 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 0.003611/0.4638, allocations: 0.8968 MB / 1.029 GB, free: 13.12 MB / 0.6824 GB Notification: Performance of FrontEnd: time 2.524e-06/0.4639, allocations: 4 kB / 1.029 GB, free: 13.12 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 7.714e-06/0.4639, allocations: 0 / 1.029 GB, free: 13.12 MB / 0.6824 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.0006507/0.4645, allocations: 377.4 kB / 1.029 GB, free: 12.7 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.4646, allocations: 8.031 kB / 1.029 GB, free: 12.69 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.257e-05/0.4647, allocations: 4.938 kB / 1.029 GB, free: 12.69 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001605/0.4648, allocations: 176.3 kB / 1.029 GB, free: 12.48 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.4649, allocations: 384 / 1.029 GB, free: 12.48 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.261e-05/0.4649, allocations: 8.359 kB / 1.029 GB, free: 12.47 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.465, allocations: 62.11 kB / 1.029 GB, free: 12.4 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.4651, allocations: 192 / 1.029 GB, free: 12.4 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.4651, allocations: 3.938 kB / 1.029 GB, free: 12.4 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.4651, allocations: 0 / 1.029 GB, free: 12.4 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001006/0.4652, allocations: 23.98 kB / 1.029 GB, free: 12.38 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005455/0.4658, allocations: 280.9 kB / 1.03 GB, free: 12.05 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001371/0.4659, allocations: 50.39 kB / 1.03 GB, free: 11.99 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.065e-05/0.466, allocations: 24.97 kB / 1.03 GB, free: 11.96 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 1.48e-05/0.466, allocations: 0 / 1.03 GB, free: 11.96 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002074/0.4663, allocations: 67.45 kB / 1.03 GB, free: 11.89 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=7): time 2.184e-06/0.4663, allocations: 4 kB / 1.03 GB, free: 11.88 MB / 0.6824 GB Notification: Performance of matching and sorting (n=7): time 0.0003017/0.4666, allocations: 89.58 kB / 1.03 GB, free: 11.79 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.769e-05/0.4666, allocations: 55.34 kB / 1.03 GB, free: 11.72 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.4668, allocations: 113.8 kB / 1.03 GB, free: 11.6 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/0.4668, allocations: 25.7 kB / 1.03 GB, free: 11.57 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 5.756e-05/0.4669, allocations: 88.14 kB / 1.03 GB, free: 11.48 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 2.74e-05/0.4669, allocations: 15.8 kB / 1.03 GB, free: 11.46 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.532e-06/0.4669, allocations: 0 / 1.03 GB, free: 11.46 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.4671, allocations: 326.8 kB / 1.03 GB, free: 11.14 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.031e-05/0.4671, allocations: 12 kB / 1.03 GB, free: 11.12 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.227e-05/0.4672, allocations: 30.56 kB / 1.03 GB, free: 11.09 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.718e-05/0.4673, allocations: 19.94 kB / 1.03 GB, free: 11.07 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.4673, allocations: 0 / 1.03 GB, free: 11.07 MB / 0.6824 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001871/0.4675, allocations: 78.16 kB / 1.03 GB, free: 10.98 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.4675, allocations: 12.06 kB / 1.03 GB, free: 10.97 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.4676, allocations: 0 / 1.03 GB, free: 10.97 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.4676, allocations: 0 / 1.03 GB, free: 10.97 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.484e-05/0.4677, allocations: 11.92 kB / 1.031 GB, free: 10.96 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.4677, allocations: 4 kB / 1.031 GB, free: 10.96 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001609/0.4679, allocations: 11.98 kB / 1.031 GB, free: 10.95 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.4679, allocations: 4.078 kB / 1.031 GB, free: 10.94 MB / 0.6824 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.0001205/0.468, allocations: 125.7 kB / 1.031 GB, free: 10.81 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.066e-05/0.468, allocations: 4 kB / 1.031 GB, free: 10.8 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.318e-05/0.4681, allocations: 8.375 kB / 1.031 GB, free: 10.8 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.4681, allocations: 0 / 1.031 GB, free: 10.8 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.4681, allocations: 0 / 1.031 GB, free: 10.8 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.563e-06/0.4681, allocations: 7.922 kB / 1.031 GB, free: 10.79 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002238/0.4684, allocations: 181.6 kB / 1.031 GB, free: 10.56 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.4684, allocations: 0 / 1.031 GB, free: 10.56 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.845e-05/0.4684, allocations: 7.938 kB / 1.031 GB, free: 10.55 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.4684, allocations: 0 / 1.031 GB, free: 10.55 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.4685, allocations: 3.984 kB / 1.031 GB, free: 10.55 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.4685, allocations: 8.172 kB / 1.031 GB, free: 10.54 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.4685, allocations: 0 / 1.031 GB, free: 10.54 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002118/0.4687, allocations: 100.9 kB / 1.031 GB, free: 10.43 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 5.678e-05/0.4688, allocations: 85.02 kB / 1.031 GB, free: 10.32 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.732e-05/0.4688, allocations: 3.984 kB / 1.031 GB, free: 10.32 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/0.469, allocations: 15.98 kB / 1.031 GB, free: 10.3 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.88e-05/0.469, allocations: 15.98 kB / 1.031 GB, free: 10.29 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.007e-06/0.4691, allocations: 0 / 1.031 GB, free: 10.29 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 7.005e-05/0.4691, allocations: 87.28 kB / 1.031 GB, free: 10.2 MB / 0.6824 GB Notification: Performance of sort global known variables: time 3.41e-07/0.4692, allocations: 0 / 1.031 GB, free: 10.2 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.0002564/0.4694, allocations: 15.98 kB / 1.031 GB, free: 10.19 MB / 0.6824 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.0001581/0.4696, allocations: 104.8 kB / 1.031 GB, free: 10.08 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 0.0001817/0.4698, allocations: 39.98 kB / 1.031 GB, free: 10.04 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4698, allocations: 4.125 kB / 1.031 GB, free: 10.04 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 8.381e-05/0.4699, allocations: 23.94 kB / 1.031 GB, free: 10.01 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003338/0.4703, allocations: 19.92 kB / 1.031 GB, free: 9.992 MB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004983/0.4708, allocations: 166.6 kB / 1.032 GB, free: 9.797 MB / 0.6824 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002887/0.4711, allocations: 0.6848 MB / 1.032 GB, free: 9.086 MB / 0.6824 GB Notification: Performance of simCode: alias equations: time 5.975e-05/0.4712, allocations: 11.84 kB / 1.032 GB, free: 9.074 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.13e-05/0.4712, allocations: 15.38 kB / 1.032 GB, free: 9.059 MB / 0.6824 GB Notification: Performance of SimCode: time 1.122e-06/0.4712, allocations: 0 / 1.032 GB, free: 9.059 MB / 0.6824 GB Notification: Performance of Templates: time 0.003993/0.4752, allocations: 0.747 MB / 1.033 GB, free: 8.32 MB / 0.6824 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)