Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_3.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_3.0.0_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.001794/0.001794, 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.002262/0.002261, allocations: 195.2 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.522/1.522, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.944/2.944, allocations: 472.6 MB / 0.7451 GB, free: 4.656 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 66.91 kB / 0.912 GB, free: 33.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4025/0.404, allocations: 159.9 MB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.00201/0.406, allocations: 0.6468 MB / 1.069 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001461/0.4075, allocations: 1.192 MB / 1.07 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.638e-05/0.4076, allocations: 4 kB / 1.07 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.255e-05/0.4076, allocations: 7.938 kB / 1.07 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.337e-05/0.4077, allocations: 11.86 kB / 1.07 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006764/0.4084, allocations: 210.5 kB / 1.07 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002267/0.4086, allocations: 175.7 kB / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.4087, allocations: 19.98 kB / 1.07 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.37e-05/0.4088, allocations: 63.89 kB / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001022/0.4089, allocations: 51.86 kB / 1.071 GB, free: 8.082 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.698e-05/0.409, allocations: 16 kB / 1.071 GB, free: 8.066 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.4091, allocations: 31.92 kB / 1.071 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.455e-05/0.4091, allocations: 11.92 kB / 1.071 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.935e-05/0.4092, allocations: 55.89 kB / 1.071 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.00021/0.4094, allocations: 151.6 kB / 1.071 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.4095, allocations: 0 / 1.071 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.084e-06/0.4095, allocations: 4 kB / 1.071 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.4095, allocations: 4 kB / 1.071 GB, free: 7.812 MB / 0.8262 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.0005685/0.4101, allocations: 439 kB / 1.071 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.4101, allocations: 8.031 kB / 1.071 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.348e-05/0.4102, allocations: 12.84 kB / 1.071 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/0.4103, allocations: 164.4 kB / 1.071 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.4103, allocations: 4.375 kB / 1.071 GB, free: 7.098 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.84e-05/0.4104, allocations: 8.375 kB / 1.071 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001157/0.4105, allocations: 62.16 kB / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.4105, allocations: 192 / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.4105, allocations: 7.938 kB / 1.071 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.4105, allocations: 0 / 1.071 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.605e-05/0.4106, allocations: 12 kB / 1.071 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005141/0.4111, allocations: 356.6 kB / 1.072 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000102/0.4112, allocations: 42.44 kB / 1.072 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.878e-05/0.4112, allocations: 16.8 kB / 1.072 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.356e-06/0.4113, allocations: 8 kB / 1.072 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001426/0.4114, allocations: 79.45 kB / 1.072 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.313e-06/0.4114, allocations: 0 / 1.072 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0002731/0.4117, allocations: 97.58 kB / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.675e-05/0.4118, allocations: 59.34 kB / 1.072 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.651e-05/0.4119, allocations: 113.8 kB / 1.072 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.994e-05/0.4119, allocations: 29.7 kB / 1.072 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.553e-05/0.412, allocations: 104 kB / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.739e-05/0.412, allocations: 11.91 kB / 1.072 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.561e-05/0.4121, allocations: 49.69 kB / 1.072 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.4122, allocations: 322.8 kB / 1.073 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001409/0.4124, allocations: 55.97 kB / 1.073 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001597/0.4125, allocations: 92.25 kB / 1.073 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001957/0.4127, allocations: 155.6 kB / 1.073 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.4127, allocations: 4 kB / 1.073 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000434/0.4132, allocations: 265.3 kB / 1.073 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.318e-05/0.4133, allocations: 71.39 kB / 1.073 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.4133, allocations: 4 kB / 1.073 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.4133, allocations: 3.938 kB / 1.073 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.315e-05/0.4133, allocations: 7.938 kB / 1.073 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.4133, allocations: 0 / 1.073 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003751/0.4137, allocations: 55.83 kB / 1.073 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.165e-05/0.4138, allocations: 15.98 kB / 1.073 GB, free: 4.824 MB / 0.8262 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,nand1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.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): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.0001078/0.4139, allocations: 133.7 kB / 1.074 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.172e-05/0.4139, allocations: 0 / 1.074 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.838e-05/0.4139, allocations: 12.44 kB / 1.074 GB, free: 4.672 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.4139, allocations: 4 kB / 1.074 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.4139, allocations: 0 / 1.074 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.4139, allocations: 0 / 1.074 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001306/0.4141, allocations: 181.5 kB / 1.074 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.4141, allocations: 3.938 kB / 1.074 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.334e-06/0.4141, allocations: 0 / 1.074 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.4141, allocations: 4 kB / 1.074 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.4141, allocations: 4 kB / 1.074 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.4141, allocations: 0 / 1.074 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4141, allocations: 320 / 1.074 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001459/0.4143, allocations: 117 kB / 1.074 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.827e-05/0.4143, allocations: 81.02 kB / 1.074 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.819e-05/0.4143, allocations: 7.984 kB / 1.074 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.885e-05/0.4144, allocations: 0 / 1.074 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.99e-05/0.4144, allocations: 12 kB / 1.074 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.4144, allocations: 3.984 kB / 1.074 GB, free: 4.176 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.091e-05/0.4145, allocations: 91.22 kB / 1.074 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4145, allocations: 0 / 1.074 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002524/0.4148, allocations: 28 kB / 1.074 GB, free: 4.059 MB / 0.8262 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 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,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.0001533/0.4149, allocations: 107.8 kB / 1.074 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003756/0.4153, allocations: 246.8 kB / 1.074 GB, free: 3.68 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.4153, allocations: 4.344 kB / 1.074 GB, free: 3.676 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.92e-05/0.4154, allocations: 27.98 kB / 1.074 GB, free: 3.648 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002432/0.4156, allocations: 23.86 kB / 1.074 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003653/0.416, allocations: 170.6 kB / 1.075 GB, free: 3.43 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002719/0.4163, allocations: 0.6807 MB / 1.075 GB, free: 2.723 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.858e-05/0.4163, allocations: 11.77 kB / 1.075 GB, free: 2.711 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.812e-05/0.4163, allocations: 11.44 kB / 1.075 GB, free: 2.699 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.4163, allocations: 0 / 1.075 GB, free: 2.699 MB / 0.8262 GB Notification: Performance of Templates: time 0.004548/0.4209, allocations: 1.849 MB / 1.077 GB, free: 0.875 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1)