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.001128/0.001128, allocations: 107.4 kB / 15.22 MB, free: 0.6562 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.001238/0.001238, allocations: 193.7 kB / 16.13 MB, free: 6.605 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.668/1.668, allocations: 205.1 MB / 222 MB, free: 4.738 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.762/1.762, allocations: 251.7 MB / 0.5088 GB, free: 3.32 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.00147/0.00147, allocations: 63.92 kB / 0.6216 GB, free: 1.973 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.754/0.7555, allocations: 104.7 MB / 0.7238 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.002591/0.7581, allocations: 1.435 MB / 0.7252 GB, free: 11.69 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004177/0.7585, allocations: 200.3 kB / 0.7254 GB, free: 11.49 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.856e-05/0.7586, allocations: 0 / 0.7254 GB, free: 11.49 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.683e-05/0.7586, allocations: 7.938 kB / 0.7254 GB, free: 11.48 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.539e-05/0.7587, allocations: 11.91 kB / 0.7254 GB, free: 11.47 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001446/0.7589, allocations: 12 kB / 0.7254 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.1e-05/0.759, allocations: 51.78 kB / 0.7255 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.7591, allocations: 19.94 kB / 0.7255 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.131e-05/0.7592, allocations: 19.92 kB / 0.7255 GB, free: 11.37 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.3e-05/0.7592, allocations: 19.91 kB / 0.7256 GB, free: 11.35 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.023e-05/0.7592, allocations: 4 kB / 0.7256 GB, free: 11.35 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.189e-05/0.7593, allocations: 0 / 0.7256 GB, free: 11.35 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.403e-05/0.7593, allocations: 15.92 kB / 0.7256 GB, free: 11.33 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.885e-05/0.7593, allocations: 19.92 kB / 0.7256 GB, free: 11.31 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 9.591e-05/0.7595, allocations: 45.78 kB / 0.7256 GB, free: 11.27 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.7595, allocations: 0 / 0.7256 GB, free: 11.27 MB / 0.545 GB Notification: Performance of FrontEnd: time 9.12e-07/0.7595, allocations: 8 kB / 0.7256 GB, free: 11.26 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.537e-06/0.7595, allocations: 0 / 0.7256 GB, free: 11.26 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.0005701/0.7601, allocations: 367.3 kB / 0.726 GB, free: 10.85 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.7601, allocations: 8.031 kB / 0.726 GB, free: 10.84 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.833e-05/0.7601, allocations: 12.84 kB / 0.726 GB, free: 10.83 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001506/0.7603, allocations: 180.2 kB / 0.7262 GB, free: 10.62 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.7603, allocations: 12.31 kB / 0.7262 GB, free: 10.61 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.072e-05/0.7603, allocations: 384 / 0.7262 GB, free: 10.61 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.7605, allocations: 58.23 kB / 0.7263 GB, free: 10.54 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-06/0.7605, allocations: 192 / 0.7263 GB, free: 10.54 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.7605, allocations: 3.938 kB / 0.7263 GB, free: 10.54 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.7605, allocations: 4 kB / 0.7263 GB, free: 10.54 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.683e-05/0.7606, allocations: 15.98 kB / 0.7263 GB, free: 10.52 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000429/0.761, allocations: 284.7 kB / 0.7265 GB, free: 10.19 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.496e-05/0.7611, allocations: 54.5 kB / 0.7266 GB, free: 10.13 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.218e-05/0.7611, allocations: 12.98 kB / 0.7266 GB, free: 10.11 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.241e-05/0.7612, allocations: 4 kB / 0.7266 GB, free: 10.11 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001467/0.7613, allocations: 63.47 kB / 0.7267 GB, free: 10.04 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.7613, allocations: 0 / 0.7267 GB, free: 10.04 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0002279/0.7616, allocations: 97.5 kB / 0.7268 GB, free: 9.934 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.906e-05/0.7616, allocations: 59.41 kB / 0.7268 GB, free: 9.863 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.675e-05/0.7617, allocations: 113.8 kB / 0.7269 GB, free: 9.742 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.61e-05/0.7617, allocations: 25.7 kB / 0.727 GB, free: 9.711 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.443e-05/0.7618, allocations: 84.14 kB / 0.727 GB, free: 9.625 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.839e-05/0.7618, allocations: 15.8 kB / 0.7271 GB, free: 9.609 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.032e-05/0.7618, allocations: 25.72 kB / 0.7271 GB, free: 9.578 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.762, allocations: 314.8 kB / 0.7274 GB, free: 9.262 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.771e-05/0.762, allocations: 16 kB / 0.7274 GB, free: 9.246 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.874e-05/0.7621, allocations: 38.56 kB / 0.7274 GB, free: 9.199 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.142e-05/0.7621, allocations: 54.44 kB / 0.7275 GB, free: 9.137 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.7621, allocations: 0 / 0.7275 GB, free: 9.137 MB / 0.545 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001071/0.7622, allocations: 73.62 kB / 0.7276 GB, free: 9.059 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.7623, allocations: 11.94 kB / 0.7276 GB, free: 9.047 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.7623, allocations: 0 / 0.7276 GB, free: 9.047 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.7623, allocations: 4.062 kB / 0.7276 GB, free: 9.043 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.577e-05/0.7624, allocations: 11.92 kB / 0.7276 GB, free: 9.031 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.7624, allocations: 0 / 0.7276 GB, free: 9.031 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.731e-05/0.7625, allocations: 19.83 kB / 0.7276 GB, free: 9.012 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.7625, allocations: 4 kB / 0.7276 GB, free: 9.008 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 8.902e-05/0.7626, allocations: 117.8 kB / 0.7277 GB, free: 8.883 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.279e-05/0.7626, allocations: 3.984 kB / 0.7277 GB, free: 8.879 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.827e-05/0.7626, allocations: 12.38 kB / 0.7277 GB, free: 8.867 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.7627, allocations: 4.188 kB / 0.7277 GB, free: 8.863 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.7627, allocations: 0 / 0.7277 GB, free: 8.863 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.7627, allocations: 3.938 kB / 0.7277 GB, free: 8.859 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001944/0.7629, allocations: 185.5 kB / 0.7279 GB, free: 8.629 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.7629, allocations: 0 / 0.7279 GB, free: 8.629 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.436e-06/0.7629, allocations: 0 / 0.7279 GB, free: 8.629 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.7629, allocations: 4 kB / 0.7279 GB, free: 8.625 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.7629, allocations: 3.984 kB / 0.7279 GB, free: 8.621 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.7629, allocations: 4 kB / 0.7279 GB, free: 8.617 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.7629, allocations: 3.938 kB / 0.7279 GB, free: 8.613 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001696/0.7631, allocations: 101.8 kB / 0.728 GB, free: 8.496 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.028e-05/0.7632, allocations: 85.02 kB / 0.7281 GB, free: 8.395 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.215e-05/0.7632, allocations: 0 / 0.7281 GB, free: 8.395 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.112e-05/0.7633, allocations: 15.97 kB / 0.7281 GB, free: 8.379 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.797e-05/0.7634, allocations: 11.98 kB / 0.7281 GB, free: 8.367 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-06/0.7634, allocations: 0 / 0.7281 GB, free: 8.367 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.064e-05/0.7635, allocations: 91.34 kB / 0.7282 GB, free: 8.277 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.2e-07/0.7635, allocations: 4 kB / 0.7282 GB, free: 8.273 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002021/0.7637, allocations: 16 kB / 0.7282 GB, free: 8.258 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.0002242/0.764, allocations: 99.23 kB / 0.7283 GB, free: 8.152 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001526/0.7641, allocations: 47.92 kB / 0.7284 GB, free: 8.105 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.7641, allocations: 0 / 0.7284 GB, free: 8.105 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.142e-05/0.7642, allocations: 23.94 kB / 0.7284 GB, free: 8.082 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002646/0.7645, allocations: 24.05 kB / 0.7284 GB, free: 8.059 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004304/0.7649, allocations: 171.5 kB / 0.7286 GB, free: 7.863 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003379/0.7653, allocations: 0.6809 MB / 0.7293 GB, free: 7.156 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.431e-05/0.7653, allocations: 11.84 kB / 0.7293 GB, free: 7.145 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.235e-05/0.7654, allocations: 15.44 kB / 0.7293 GB, free: 7.129 MB / 0.545 GB Notification: Performance of SimCode: time 1.91e-07/0.7654, allocations: 0 / 0.7293 GB, free: 7.129 MB / 0.545 GB Notification: Performance of Templates: time 0.003003/0.7684, allocations: 0.7801 MB / 0.73 GB, free: 6.359 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)