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.000968/0.0009682, allocations: 90.75 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.681/1.681, allocations: 205.4 MB / 222.1 MB, free: 5.48 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.557/1.557, allocations: 252 MB / 0.5102 GB, free: 4.754 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.0009393/0.0009395, allocations: 20 kB / 0.6243 GB, free: 1.062 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7187/0.7197, allocations: 106.3 MB / 0.7281 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001562/0.7213, allocations: 1.089 MB / 0.7292 GB, free: 10.3 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004648/0.7218, allocations: 200.3 kB / 0.7294 GB, free: 10.1 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.035e-05/0.7218, allocations: 4 kB / 0.7294 GB, free: 10.1 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.728e-05/0.7218, allocations: 0 / 0.7294 GB, free: 10.1 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001041/0.722, allocations: 3.938 kB / 0.7294 GB, free: 10.09 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001677/0.7221, allocations: 11.98 kB / 0.7294 GB, free: 10.08 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001004/0.7222, allocations: 55.78 kB / 0.7295 GB, free: 10.03 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.7224, allocations: 11.98 kB / 0.7295 GB, free: 10.02 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.648e-05/0.7224, allocations: 19.92 kB / 0.7295 GB, free: 9.996 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.204e-05/0.7225, allocations: 23.86 kB / 0.7295 GB, free: 9.973 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.546e-05/0.7226, allocations: 0 / 0.7295 GB, free: 9.973 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.474e-05/0.7226, allocations: 4 kB / 0.7295 GB, free: 9.969 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.189e-05/0.7226, allocations: 11.92 kB / 0.7295 GB, free: 9.957 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.48e-05/0.7227, allocations: 29.7 kB / 0.7296 GB, free: 9.922 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 8.646e-05/0.7227, allocations: 37.83 kB / 0.7296 GB, free: 9.887 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.145e-06/0.7228, allocations: 0 / 0.7296 GB, free: 9.887 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.835e-06/0.7228, allocations: 4 kB / 0.7296 GB, free: 9.883 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.7228, allocations: 0 / 0.7296 GB, free: 9.883 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.0006747/0.7235, allocations: 371.1 kB / 0.73 GB, free: 9.473 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.7235, allocations: 8.031 kB / 0.73 GB, free: 9.465 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.822e-05/0.7236, allocations: 4 kB / 0.73 GB, free: 9.461 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000176/0.7238, allocations: 194.8 kB / 0.7302 GB, free: 9.23 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.547e-05/0.7238, allocations: 0 / 0.7302 GB, free: 9.23 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.578e-05/0.7238, allocations: 4 kB / 0.7302 GB, free: 9.227 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/0.724, allocations: 53.67 kB / 0.7302 GB, free: 9.168 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.724, allocations: 0 / 0.7302 GB, free: 9.168 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.724, allocations: 3.984 kB / 0.7302 GB, free: 9.164 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.724, allocations: 0 / 0.7302 GB, free: 9.164 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.976e-05/0.7241, allocations: 19.98 kB / 0.7302 GB, free: 9.145 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005063/0.7246, allocations: 288.8 kB / 0.7305 GB, free: 8.812 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.865e-05/0.7247, allocations: 42.56 kB / 0.7305 GB, free: 8.762 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.716e-05/0.7248, allocations: 20.98 kB / 0.7306 GB, free: 8.738 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.248e-05/0.7248, allocations: 0 / 0.7306 GB, free: 8.738 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001911/0.725, allocations: 67.47 kB / 0.7306 GB, free: 8.66 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.725, allocations: 4 kB / 0.7306 GB, free: 8.656 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0002464/0.7252, allocations: 97.5 kB / 0.7307 GB, free: 8.555 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.703e-05/0.7253, allocations: 51.41 kB / 0.7308 GB, free: 8.492 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.7254, allocations: 117.8 kB / 0.7309 GB, free: 8.367 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.108e-05/0.7254, allocations: 29.7 kB / 0.7309 GB, free: 8.332 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.107e-05/0.7255, allocations: 84.14 kB / 0.731 GB, free: 8.246 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.261e-05/0.7255, allocations: 19.8 kB / 0.731 GB, free: 8.227 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.339e-06/0.7255, allocations: 0 / 0.731 GB, free: 8.227 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.7257, allocations: 318.8 kB / 0.7313 GB, free: 7.906 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.279e-05/0.7257, allocations: 15.98 kB / 0.7313 GB, free: 7.891 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.84e-05/0.7258, allocations: 38.45 kB / 0.7314 GB, free: 7.844 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.695e-05/0.7258, allocations: 15.98 kB / 0.7314 GB, free: 7.828 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.7258, allocations: 0 / 0.7314 GB, free: 7.828 MB / 0.545 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000117/0.7259, allocations: 77.53 kB / 0.7315 GB, free: 7.746 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/0.726, allocations: 12.05 kB / 0.7315 GB, free: 7.734 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.726, allocations: 0 / 0.7315 GB, free: 7.734 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.726, allocations: 4.188 kB / 0.7315 GB, free: 7.73 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.179e-05/0.7261, allocations: 8 kB / 0.7315 GB, free: 7.723 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.7261, allocations: 3.938 kB / 0.7315 GB, free: 7.719 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.565e-05/0.7262, allocations: 23.88 kB / 0.7315 GB, free: 7.695 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.7262, allocations: 0 / 0.7315 GB, free: 7.695 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,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.0001193/0.7263, allocations: 121.8 kB / 0.7316 GB, free: 7.566 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.399e-05/0.7263, allocations: 7.906 kB / 0.7316 GB, free: 7.559 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.425e-05/0.7264, allocations: 12.36 kB / 0.7316 GB, free: 7.547 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.7264, allocations: 4 kB / 0.7317 GB, free: 7.543 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.7264, allocations: 0 / 0.7317 GB, free: 7.543 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.7264, allocations: 0 / 0.7317 GB, free: 7.543 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001896/0.7266, allocations: 173.6 kB / 0.7318 GB, free: 7.324 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.7266, allocations: 0 / 0.7318 GB, free: 7.324 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.062e-05/0.7266, allocations: 3.984 kB / 0.7318 GB, free: 7.32 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.7266, allocations: 0 / 0.7318 GB, free: 7.32 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.7267, allocations: 4 kB / 0.7318 GB, free: 7.316 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.7267, allocations: 8 kB / 0.7318 GB, free: 7.309 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.7267, allocations: 0 / 0.7318 GB, free: 7.309 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001403/0.7268, allocations: 101.7 kB / 0.7319 GB, free: 7.191 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.565e-05/0.7269, allocations: 81.09 kB / 0.732 GB, free: 7.094 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.882e-05/0.7269, allocations: 7.938 kB / 0.732 GB, free: 7.086 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.173e-05/0.727, allocations: 11.98 kB / 0.732 GB, free: 7.074 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.804e-05/0.727, allocations: 15.98 kB / 0.732 GB, free: 7.059 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-06/0.7271, allocations: 4 kB / 0.732 GB, free: 7.055 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.462e-05/0.7271, allocations: 91.33 kB / 0.7321 GB, free: 6.965 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7271, allocations: 0 / 0.7321 GB, free: 6.965 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001899/0.7273, allocations: 12 kB / 0.7321 GB, free: 6.953 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 (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.0001468/0.7275, allocations: 99.25 kB / 0.7322 GB, free: 6.848 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001376/0.7276, allocations: 43.92 kB / 0.7323 GB, free: 6.805 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/0.7276, allocations: 4.125 kB / 0.7323 GB, free: 6.801 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.385e-05/0.7277, allocations: 31.92 kB / 0.7323 GB, free: 6.77 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002451/0.7279, allocations: 15.22 kB / 0.7323 GB, free: 6.758 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003722/0.7283, allocations: 169.9 kB / 0.7325 GB, free: 6.562 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002781/0.7286, allocations: 0.6888 MB / 0.7332 GB, free: 5.848 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.357e-05/0.7287, allocations: 11.84 kB / 0.7332 GB, free: 5.836 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.033e-05/0.7287, allocations: 15.38 kB / 0.7332 GB, free: 5.82 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/0.7287, allocations: 0 / 0.7332 GB, free: 5.82 MB / 0.545 GB Notification: Performance of Templates: time 0.003939/0.7327, allocations: 0.7455 MB / 0.7339 GB, free: 5.082 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: