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.001286/0.001286, allocations: 99.39 kB / 15.05 MB, free: 1.105 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.001478/0.001478, allocations: 177.3 kB / 15.94 MB, free: 228 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.679/1.679, allocations: 205.4 MB / 222.1 MB, free: 5.504 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.655/1.655, allocations: 251.9 MB / 0.51 GB, free: 4.82 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.0005976/0.0005977, allocations: 16 kB / 0.6241 GB, free: 1.113 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6845/0.6851, allocations: 106.3 MB / 0.728 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001585/0.6867, allocations: 1.088 MB / 0.729 GB, free: 10.32 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004311/0.6872, allocations: 188.5 kB / 0.7292 GB, free: 10.14 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.998e-05/0.6872, allocations: 0 / 0.7292 GB, free: 10.14 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.942e-05/0.6873, allocations: 7.922 kB / 0.7292 GB, free: 10.13 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.346e-05/0.6874, allocations: 11.97 kB / 0.7292 GB, free: 10.12 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001294/0.6875, allocations: 15.92 kB / 0.7293 GB, free: 10.1 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.782e-05/0.6876, allocations: 35.89 kB / 0.7293 GB, free: 10.07 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.568e-05/0.6877, allocations: 15.98 kB / 0.7293 GB, free: 10.05 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.467e-05/0.6877, allocations: 19.92 kB / 0.7293 GB, free: 10.03 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.459e-05/0.6878, allocations: 19.92 kB / 0.7293 GB, free: 10.01 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.6878, allocations: 0 / 0.7293 GB, free: 10.01 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.435e-05/0.6878, allocations: 4 kB / 0.7294 GB, free: 10.01 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.536e-05/0.6879, allocations: 7.969 kB / 0.7294 GB, free: 10 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.578e-05/0.6879, allocations: 37.64 kB / 0.7294 GB, free: 9.957 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 6.978e-05/0.688, allocations: 33.89 kB / 0.7294 GB, free: 9.926 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.688, allocations: 4 kB / 0.7294 GB, free: 9.922 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.232e-06/0.688, allocations: 0 / 0.7294 GB, free: 9.922 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.688, allocations: 0 / 0.7294 GB, free: 9.922 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.0005328/0.6885, allocations: 371.1 kB / 0.7298 GB, free: 9.512 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.6886, allocations: 8.031 kB / 0.7298 GB, free: 9.504 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.125e-05/0.6886, allocations: 4 kB / 0.7298 GB, free: 9.5 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/0.6888, allocations: 178.9 kB / 0.73 GB, free: 9.285 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.6888, allocations: 0 / 0.73 GB, free: 9.285 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.753e-05/0.6888, allocations: 12 kB / 0.73 GB, free: 9.273 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001122/0.6889, allocations: 45.69 kB / 0.73 GB, free: 9.223 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.6889, allocations: 0 / 0.73 GB, free: 9.223 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.689, allocations: 0 / 0.73 GB, free: 9.223 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.689, allocations: 0 / 0.73 GB, free: 9.223 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.24e-05/0.689, allocations: 27.92 kB / 0.73 GB, free: 9.195 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004227/0.6895, allocations: 284.8 kB / 0.7303 GB, free: 8.867 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.642e-05/0.6896, allocations: 46.56 kB / 0.7304 GB, free: 8.812 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.114e-05/0.6896, allocations: 0 / 0.7304 GB, free: 8.812 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001571/0.6897, allocations: 67.45 kB / 0.7304 GB, free: 8.734 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.6898, allocations: 3.938 kB / 0.7304 GB, free: 8.73 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0002319/0.69, allocations: 97.58 kB / 0.7305 GB, free: 8.629 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.121e-05/0.69, allocations: 59.39 kB / 0.7306 GB, free: 8.559 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.393e-05/0.6901, allocations: 117.8 kB / 0.7307 GB, free: 8.434 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/0.6902, allocations: 29.7 kB / 0.7307 GB, free: 8.398 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.974e-05/0.6902, allocations: 84.14 kB / 0.7308 GB, free: 8.312 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.785e-05/0.6902, allocations: 15.81 kB / 0.7308 GB, free: 8.297 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.007e-06/0.6903, allocations: 0 / 0.7308 GB, free: 8.297 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.6904, allocations: 318.8 kB / 0.7311 GB, free: 7.977 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.003e-05/0.6904, allocations: 15.94 kB / 0.7311 GB, free: 7.961 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.714e-05/0.6905, allocations: 42.56 kB / 0.7312 GB, free: 7.91 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.193e-05/0.6905, allocations: 12 kB / 0.7312 GB, free: 7.898 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.6905, allocations: 0 / 0.7312 GB, free: 7.898 MB / 0.545 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001222/0.6907, allocations: 77.53 kB / 0.7313 GB, free: 7.816 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.6907, allocations: 4 kB / 0.7313 GB, free: 7.812 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.6907, allocations: 0 / 0.7313 GB, free: 7.812 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.6907, allocations: 4 kB / 0.7313 GB, free: 7.809 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.053e-05/0.6908, allocations: 7.984 kB / 0.7313 GB, free: 7.801 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.6908, allocations: 8 kB / 0.7313 GB, free: 7.793 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.373e-05/0.6909, allocations: 19.92 kB / 0.7313 GB, free: 7.773 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.944e-06/0.6909, allocations: 3.953 kB / 0.7313 GB, free: 7.77 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 9.188e-05/0.691, allocations: 116.9 kB / 0.7314 GB, free: 7.648 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.442e-05/0.691, allocations: 7.906 kB / 0.7314 GB, free: 7.641 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.989e-05/0.691, allocations: 8.375 kB / 0.7314 GB, free: 7.633 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.6911, allocations: 8 kB / 0.7314 GB, free: 7.625 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.6911, allocations: 0 / 0.7314 GB, free: 7.625 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.6911, allocations: 0 / 0.7314 GB, free: 7.625 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001616/0.6912, allocations: 185.6 kB / 0.7316 GB, free: 7.395 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.6912, allocations: 0 / 0.7316 GB, free: 7.395 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.416e-06/0.6913, allocations: 0 / 0.7316 GB, free: 7.395 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.6913, allocations: 0 / 0.7316 GB, free: 7.395 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.6913, allocations: 4 kB / 0.7316 GB, free: 7.391 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.6913, allocations: 7.984 kB / 0.7316 GB, free: 7.383 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.6913, allocations: 0 / 0.7316 GB, free: 7.383 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001307/0.6914, allocations: 104.9 kB / 0.7317 GB, free: 7.262 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.333e-05/0.6915, allocations: 81.09 kB / 0.7318 GB, free: 7.164 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.6915, allocations: 3.938 kB / 0.7318 GB, free: 7.16 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.024e-05/0.6916, allocations: 20.17 kB / 0.7318 GB, free: 7.141 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.169e-05/0.6917, allocations: 11.97 kB / 0.7318 GB, free: 7.129 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.6917, allocations: 7.938 kB / 0.7319 GB, free: 7.121 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.328e-05/0.6917, allocations: 84.06 kB / 0.7319 GB, free: 7.039 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6917, allocations: 4 kB / 0.7319 GB, free: 7.035 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001922/0.6919, allocations: 16 kB / 0.732 GB, free: 7.02 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.0001434/0.6921, allocations: 99.23 kB / 0.732 GB, free: 6.914 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001246/0.6922, allocations: 51.91 kB / 0.7321 GB, free: 6.863 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.6922, allocations: 0 / 0.7321 GB, free: 6.863 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.902e-05/0.6923, allocations: 20.39 kB / 0.7321 GB, free: 6.844 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001831/0.6925, allocations: 28 kB / 0.7321 GB, free: 6.816 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003207/0.6928, allocations: 158.7 kB / 0.7323 GB, free: 6.629 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002784/0.6931, allocations: 0.6887 MB / 0.733 GB, free: 5.914 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.751e-05/0.6931, allocations: 15.84 kB / 0.733 GB, free: 5.898 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.06e-05/0.6932, allocations: 11.44 kB / 0.733 GB, free: 5.887 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.6932, allocations: 0 / 0.733 GB, free: 5.887 MB / 0.545 GB Notification: Performance of Templates: time 0.00305/0.6962, allocations: 0.7359 MB / 0.7337 GB, free: 5.16 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: