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.002022/0.002022, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002846/0.002846, allocations: 198 kB / 16.54 MB, free: 6.672 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.79/1.79, allocations: 205.1 MB / 222.4 MB, free: 4.613 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.627/1.627, allocations: 251.7 MB / 0.5092 GB, free: 3.172 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.001914/0.001914, allocations: 67.91 kB / 0.6223 GB, free: 1.484 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7442/0.7461, allocations: 104.7 MB / 0.7245 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.004239/0.7504, allocations: 1.375 MB / 0.7259 GB, free: 11.54 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0005868/0.7511, allocations: 215.2 kB / 0.7261 GB, free: 11.32 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.099e-05/0.7511, allocations: 0 / 0.7261 GB, free: 11.32 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.527e-05/0.7512, allocations: 7.938 kB / 0.7261 GB, free: 11.32 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.559e-05/0.7513, allocations: 11.86 kB / 0.7261 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001502/0.7515, allocations: 15.98 kB / 0.7261 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001148/0.7516, allocations: 59.73 kB / 0.7262 GB, free: 11.23 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.7517, allocations: 15.97 kB / 0.7262 GB, free: 11.21 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.129e-05/0.7518, allocations: 15.94 kB / 0.7262 GB, free: 11.2 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.15e-05/0.7519, allocations: 27.91 kB / 0.7262 GB, free: 11.17 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.127e-05/0.7519, allocations: 4 kB / 0.7262 GB, free: 11.17 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.575e-05/0.7519, allocations: 8 kB / 0.7262 GB, free: 11.16 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.467e-05/0.7519, allocations: 4 kB / 0.7262 GB, free: 11.16 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.832e-05/0.752, allocations: 27.86 kB / 0.7263 GB, free: 11.13 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001477/0.7522, allocations: 53.81 kB / 0.7263 GB, free: 11.08 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.7522, allocations: 0 / 0.7263 GB, free: 11.08 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.543e-06/0.7522, allocations: 0 / 0.7263 GB, free: 11.08 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.7522, allocations: 0 / 0.7263 GB, free: 11.08 MB / 0.545 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.0007825/0.753, allocations: 367.3 kB / 0.7267 GB, free: 10.67 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.753, allocations: 8.031 kB / 0.7267 GB, free: 10.66 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.308e-05/0.7531, allocations: 12.84 kB / 0.7267 GB, free: 10.65 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001635/0.7533, allocations: 176.2 kB / 0.7269 GB, free: 10.44 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.7533, allocations: 4.312 kB / 0.7269 GB, free: 10.43 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.357e-05/0.7533, allocations: 8.375 kB / 0.7269 GB, free: 10.43 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001305/0.7535, allocations: 46.25 kB / 0.7269 GB, free: 10.38 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.7535, allocations: 192 / 0.7269 GB, free: 10.38 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.758e-05/0.7535, allocations: 11.94 kB / 0.7269 GB, free: 10.36 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.7535, allocations: 0 / 0.7269 GB, free: 10.36 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.43e-05/0.7536, allocations: 19.98 kB / 0.7269 GB, free: 10.34 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004601/0.7541, allocations: 292.7 kB / 0.7272 GB, free: 10.01 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001107/0.7542, allocations: 50.5 kB / 0.7273 GB, free: 9.949 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.78e-05/0.7542, allocations: 16.98 kB / 0.7273 GB, free: 9.93 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.184e-05/0.7543, allocations: 0 / 0.7273 GB, free: 9.93 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002404/0.7545, allocations: 75.38 kB / 0.7274 GB, free: 9.844 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.7545, allocations: 0 / 0.7274 GB, free: 9.844 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0002238/0.7547, allocations: 85.53 kB / 0.7274 GB, free: 9.754 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.383e-05/0.7548, allocations: 55.41 kB / 0.7275 GB, free: 9.688 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.7549, allocations: 110.2 kB / 0.7276 GB, free: 9.57 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/0.7549, allocations: 33.7 kB / 0.7276 GB, free: 9.531 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.163e-05/0.755, allocations: 88.2 kB / 0.7277 GB, free: 9.441 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.171e-05/0.755, allocations: 15.8 kB / 0.7277 GB, free: 9.426 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.373e-05/0.7551, allocations: 25.72 kB / 0.7278 GB, free: 9.395 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000258/0.7554, allocations: 318.8 kB / 0.7281 GB, free: 9.074 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.382e-05/0.7554, allocations: 12 kB / 0.7281 GB, free: 9.062 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.001e-05/0.7555, allocations: 38.56 kB / 0.7281 GB, free: 9.016 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.827e-05/0.7556, allocations: 50.75 kB / 0.7282 GB, free: 8.957 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.7556, allocations: 8 kB / 0.7282 GB, free: 8.949 MB / 0.545 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001123/0.7557, allocations: 73.62 kB / 0.7282 GB, free: 8.871 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.7557, allocations: 7.984 kB / 0.7282 GB, free: 8.863 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.7557, allocations: 0 / 0.7282 GB, free: 8.863 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.7557, allocations: 4 kB / 0.7282 GB, free: 8.859 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.094e-05/0.7558, allocations: 7.938 kB / 0.7283 GB, free: 8.852 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.7558, allocations: 0 / 0.7283 GB, free: 8.852 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.341e-05/0.7559, allocations: 19.83 kB / 0.7283 GB, free: 8.832 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.7559, allocations: 0 / 0.7283 GB, free: 8.832 MB / 0.545 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.0001004/0.756, allocations: 121.8 kB / 0.7284 GB, free: 8.703 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.567e-05/0.7561, allocations: 7.984 kB / 0.7284 GB, free: 8.695 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.506e-05/0.7561, allocations: 12.36 kB / 0.7284 GB, free: 8.684 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.7561, allocations: 7.938 kB / 0.7284 GB, free: 8.676 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.7561, allocations: 0 / 0.7284 GB, free: 8.676 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.7561, allocations: 0 / 0.7284 GB, free: 8.676 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001943/0.7563, allocations: 185.5 kB / 0.7286 GB, free: 8.445 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.7563, allocations: 3.984 kB / 0.7286 GB, free: 8.441 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.083e-06/0.7564, allocations: 0 / 0.7286 GB, free: 8.441 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.7564, allocations: 4 kB / 0.7286 GB, free: 8.438 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.7564, allocations: 192 / 0.7286 GB, free: 8.438 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.125e-06/0.7564, allocations: 4 kB / 0.7286 GB, free: 8.434 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.7564, allocations: 7.875 kB / 0.7286 GB, free: 8.426 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001329/0.7565, allocations: 93.06 kB / 0.7287 GB, free: 8.316 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.812e-05/0.7566, allocations: 85 kB / 0.7288 GB, free: 8.215 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.944e-05/0.7566, allocations: 8 kB / 0.7288 GB, free: 8.207 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.485e-05/0.7567, allocations: 11.98 kB / 0.7288 GB, free: 8.195 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.056e-05/0.7567, allocations: 11.98 kB / 0.7288 GB, free: 8.184 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.735e-06/0.7568, allocations: 4 kB / 0.7288 GB, free: 8.18 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.019e-05/0.7568, allocations: 87.28 kB / 0.7289 GB, free: 8.094 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.7568, allocations: 0 / 0.7289 GB, free: 8.094 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001996/0.757, allocations: 12 kB / 0.7289 GB, free: 8.082 MB / 0.545 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.0002872/0.7573, allocations: 103.2 kB / 0.729 GB, free: 7.973 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001436/0.7575, allocations: 47.92 kB / 0.7291 GB, free: 7.926 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.7575, allocations: 4.125 kB / 0.7291 GB, free: 7.922 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.265e-05/0.7575, allocations: 23.92 kB / 0.7291 GB, free: 7.898 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002462/0.7578, allocations: 21.95 kB / 0.7291 GB, free: 7.879 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004325/0.7582, allocations: 162.4 kB / 0.7293 GB, free: 7.691 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003389/0.7586, allocations: 0.6924 MB / 0.7299 GB, free: 6.973 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.171e-05/0.7586, allocations: 3.859 kB / 0.7299 GB, free: 6.969 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.128e-05/0.7587, allocations: 11.44 kB / 0.7299 GB, free: 6.957 MB / 0.545 GB Notification: Performance of SimCode: time 3.4e-07/0.7587, allocations: 4 kB / 0.73 GB, free: 6.953 MB / 0.545 GB Notification: Performance of Templates: time 0.003999/0.7627, allocations: 0.9034 MB / 0.7308 GB, free: 6.062 MB / 0.545 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)