Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.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.Nor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.42/2.42, allocations: 251.1 MB / 266.7 MB, free: 11.64 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.001335/0.001334, allocations: 174.9 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.356/2.356, allocations: 205.4 MB / 0.5772 GB, free: 20.78 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.000879/0.0008785, allocations: 90.36 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000635/0.0006352, allocations: 14.5 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2305/0.2312, allocations: 106.3 MB / 0.8995 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2266/0.4578, allocations: 131.3 MB / 1.028 GB, free: 14.07 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003012/0.4582, allocations: 75.94 kB / 1.028 GB, free: 14 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003543/0.4618, allocations: 0.9085 MB / 1.029 GB, free: 13.09 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.204e-06/0.4618, allocations: 4 kB / 1.029 GB, free: 13.08 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.234e-06/0.4618, allocations: 0 / 1.029 GB, free: 13.08 MB / 0.6823 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.0006186/0.4625, allocations: 363.3 kB / 1.029 GB, free: 12.68 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.4625, allocations: 12.03 kB / 1.029 GB, free: 12.66 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.744e-05/0.4626, allocations: 0.9375 kB / 1.029 GB, free: 12.66 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001549/0.4627, allocations: 176.3 kB / 1.029 GB, free: 12.45 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.475e-05/0.4628, allocations: 12.36 kB / 1.029 GB, free: 12.44 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.849e-05/0.4628, allocations: 4.375 kB / 1.029 GB, free: 12.44 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.4629, allocations: 54.12 kB / 1.029 GB, free: 12.38 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.463, allocations: 192 / 1.029 GB, free: 12.38 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.532e-05/0.463, allocations: 3.938 kB / 1.029 GB, free: 12.38 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.463, allocations: 4 kB / 1.029 GB, free: 12.37 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.42e-05/0.4631, allocations: 19.98 kB / 1.029 GB, free: 12.35 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005086/0.4636, allocations: 284.9 kB / 1.03 GB, free: 12.02 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001355/0.4638, allocations: 50.44 kB / 1.03 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.681e-05/0.4639, allocations: 12.98 kB / 1.03 GB, free: 11.95 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.4639, allocations: 4 kB / 1.03 GB, free: 11.95 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001945/0.4641, allocations: 67.39 kB / 1.03 GB, free: 11.87 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.994e-06/0.4641, allocations: 4 kB / 1.03 GB, free: 11.86 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0002836/0.4644, allocations: 81.58 kB / 1.03 GB, free: 11.78 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.593e-05/0.4645, allocations: 63.34 kB / 1.03 GB, free: 11.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.4646, allocations: 114.2 kB / 1.03 GB, free: 11.58 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/0.4646, allocations: 25.7 kB / 1.03 GB, free: 11.55 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.95e-05/0.4647, allocations: 84.14 kB / 1.03 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.85e-05/0.4647, allocations: 19.86 kB / 1.03 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.207e-06/0.4648, allocations: 4 kB / 1.03 GB, free: 11.44 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.4649, allocations: 314.8 kB / 1.03 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.297e-05/0.465, allocations: 15.98 kB / 1.03 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.407e-05/0.4651, allocations: 34.58 kB / 1.03 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.362e-05/0.4651, allocations: 20.23 kB / 1.03 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.4652, allocations: 0 / 1.03 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001719/0.4653, allocations: 77.78 kB / 1.03 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.4654, allocations: 11.98 kB / 1.03 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.4654, allocations: 7.938 kB / 1.031 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.4654, allocations: 0 / 1.031 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.725e-05/0.4655, allocations: 7.938 kB / 1.031 GB, free: 10.94 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.4655, allocations: 0 / 1.031 GB, free: 10.94 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001429/0.4657, allocations: 19.98 kB / 1.031 GB, free: 10.92 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.4657, allocations: 0 / 1.031 GB, free: 10.92 MB / 0.6823 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,nor1.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.0001126/0.4658, allocations: 131.6 kB / 1.031 GB, free: 10.78 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.446e-05/0.4658, allocations: 0 / 1.031 GB, free: 10.78 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.99e-05/0.4659, allocations: 16.36 kB / 1.031 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.4659, allocations: 0 / 1.031 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.4659, allocations: 0 / 1.031 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.4659, allocations: 3.938 kB / 1.031 GB, free: 10.76 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001958/0.4661, allocations: 177.6 kB / 1.031 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.4661, allocations: 0 / 1.031 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.741e-05/0.4662, allocations: 7.922 kB / 1.031 GB, free: 10.53 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.4662, allocations: 4 kB / 1.031 GB, free: 10.53 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.4662, allocations: 8 kB / 1.031 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.4662, allocations: 0 / 1.031 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.4662, allocations: 0 / 1.031 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001934/0.4664, allocations: 101 kB / 1.031 GB, free: 10.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.719e-05/0.4665, allocations: 85 kB / 1.031 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.235e-05/0.4665, allocations: 4 kB / 1.031 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/0.4667, allocations: 15.98 kB / 1.031 GB, free: 10.28 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.543e-05/0.4667, allocations: 11.98 kB / 1.031 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/0.4668, allocations: 4 kB / 1.031 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.452e-05/0.4668, allocations: 91.27 kB / 1.031 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.01e-07/0.4669, allocations: 0 / 1.031 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002403/0.4671, allocations: 8 kB / 1.031 GB, free: 10.17 MB / 0.6823 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,nor1.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.0001382/0.4672, allocations: 103.2 kB / 1.031 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001707/0.4674, allocations: 44.03 kB / 1.031 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.4674, allocations: 4.062 kB / 1.031 GB, free: 10.01 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 8.102e-05/0.4675, allocations: 27.92 kB / 1.031 GB, free: 9.984 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003137/0.4679, allocations: 11.94 kB / 1.031 GB, free: 9.973 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004208/0.4683, allocations: 166.6 kB / 1.032 GB, free: 9.777 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003077/0.4686, allocations: 0.6887 MB / 1.032 GB, free: 9.062 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.936e-05/0.4687, allocations: 11.84 kB / 1.032 GB, free: 9.051 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.033e-05/0.4687, allocations: 15.38 kB / 1.032 GB, free: 9.035 MB / 0.6823 GB Notification: Performance of SimCode: time 6.61e-07/0.4688, allocations: 0 / 1.032 GB, free: 9.035 MB / 0.6823 GB Notification: Performance of Templates: time 0.003822/0.4726, allocations: 0.733 MB / 1.033 GB, free: 8.309 MB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1)