Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_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_8_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.001569/0.001569, allocations: 105.1 kB / 16.36 MB, free: 6.309 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.001184/0.001184, allocations: 191.9 kB / 17.3 MB, free: 5.871 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.648/1.648, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.056/2.056, allocations: 292.3 MB / 0.5496 GB, free: 17.61 MB / 462.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.001503/0.001504, allocations: 75.03 kB / 0.6729 GB, free: 5.832 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2777/0.2792, allocations: 114.5 MB / 0.7848 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.002124/0.2813, allocations: 0.6855 MB / 0.7855 GB, free: 2.48 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001602/0.283, allocations: 1.176 MB / 0.7866 GB, free: 1.289 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.861e-05/0.283, allocations: 3.938 kB / 0.7866 GB, free: 1.285 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.619e-05/0.2831, allocations: 3.938 kB / 0.7866 GB, free: 1.281 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.312e-05/0.2832, allocations: 19.88 kB / 0.7866 GB, free: 1.262 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000672/0.2838, allocations: 217.7 kB / 0.7869 GB, free: 1.055 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002263/0.2841, allocations: 183.8 kB / 0.787 GB, free: 0.875 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.384e-05/0.2842, allocations: 8 kB / 0.787 GB, free: 0.8672 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.292e-05/0.2843, allocations: 67.88 kB / 0.7871 GB, free: 0.8008 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001367/0.2844, allocations: 63.86 kB / 0.7872 GB, free: 0.7383 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.15e-05/0.2844, allocations: 16 kB / 0.7872 GB, free: 0.7227 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 8.032e-05/0.2845, allocations: 27.97 kB / 0.7872 GB, free: 0.6953 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.666e-05/0.2846, allocations: 15.92 kB / 0.7872 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 7.82e-05/0.2847, allocations: 55.83 kB / 0.7873 GB, free: 0.625 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002139/0.2849, allocations: 155.5 kB / 0.7874 GB, free: 484 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.2849, allocations: 0 / 0.7874 GB, free: 484 kB / 0.6544 GB Notification: Performance of FrontEnd: time 2.244e-06/0.2849, allocations: 0 / 0.7874 GB, free: 484 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.907e-06/0.2849, allocations: 0 / 0.7874 GB, free: 484 kB / 0.6544 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.4671/0.752, allocations: 427.2 kB / 0.7878 GB, free: 49.04 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.433e-05/0.7521, allocations: 10.78 kB / 0.7878 GB, free: 49.04 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001258/0.7522, allocations: 9.812 kB / 0.7878 GB, free: 49.04 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/0.7523, allocations: 168.7 kB / 0.788 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.7524, allocations: 11.14 kB / 0.788 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.451e-05/0.7524, allocations: 12.94 kB / 0.788 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001137/0.7525, allocations: 47.38 kB / 0.7881 GB, free: 48.81 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.7525, allocations: 1.688 kB / 0.7881 GB, free: 48.81 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.7526, allocations: 3.938 kB / 0.7881 GB, free: 48.81 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.7526, allocations: 3.156 kB / 0.7881 GB, free: 48.81 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.149e-05/0.7526, allocations: 13.2 kB / 0.7881 GB, free: 48.81 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004503/0.7531, allocations: 351.5 kB / 0.7884 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 6.738e-05/0.7532, allocations: 39.58 kB / 0.7885 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.716e-05/0.7532, allocations: 16.25 kB / 0.7885 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.241e-05/0.7532, allocations: 0.7812 kB / 0.7885 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001931/0.7534, allocations: 90.44 kB / 0.7886 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/0.7534, allocations: 0 / 0.7886 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0002227/0.7536, allocations: 97.42 kB / 0.7887 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.408e-05/0.7537, allocations: 56.09 kB / 0.7887 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.934e-05/0.7538, allocations: 122.8 kB / 0.7888 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.536e-05/0.7538, allocations: 29.77 kB / 0.7889 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.136e-05/0.7538, allocations: 96.27 kB / 0.789 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.583e-05/0.7539, allocations: 11.09 kB / 0.789 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.622e-05/0.754, allocations: 52.36 kB / 0.789 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.482e-05/0.754, allocations: 321.3 kB / 0.7893 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001178/0.7541, allocations: 64.02 kB / 0.7894 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001253/0.7543, allocations: 93.5 kB / 0.7895 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001531/0.7544, allocations: 166 kB / 0.7896 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.7544, allocations: 0 / 0.7896 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003663/0.7548, allocations: 263.7 kB / 0.7899 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.02e-05/0.7549, allocations: 66.53 kB / 0.7899 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.7549, allocations: 0.5625 kB / 0.7899 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.7549, allocations: 2.906 kB / 0.7899 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.277e-05/0.7549, allocations: 4.969 kB / 0.79 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.7549, allocations: 5.812 kB / 0.79 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003355/0.7553, allocations: 58.44 kB / 0.79 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.936e-05/0.7553, allocations: 14.48 kB / 0.79 GB, free: 47.51 MB / 0.6544 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 7.572e-05/0.7554, allocations: 123.7 kB / 0.7901 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.251e-05/0.7554, allocations: 4.219 kB / 0.7902 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.982e-05/0.7555, allocations: 13.48 kB / 0.7902 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.7555, allocations: 0 / 0.7902 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.7555, allocations: 3.375 kB / 0.7902 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.416e-05/0.7555, allocations: 84.36 kB / 0.7902 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.688e-05/0.7555, allocations: 3.062 kB / 0.7903 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.947e-05/0.7555, allocations: 3.938 kB / 0.7903 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.042e-05/0.7556, allocations: 10.55 kB / 0.7903 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001284/0.7557, allocations: 158.8 kB / 0.7904 GB, free: 47.19 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001332/0.7559, allocations: 257.7 kB / 0.7907 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.776e-05/0.7559, allocations: 26.95 kB / 0.7907 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.029e-05/0.756, allocations: 91.03 kB / 0.7908 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of Backend: time 6.31e-07/0.756, allocations: 1.188 kB / 0.7908 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005776/0.7566, allocations: 315.2 kB / 0.7911 GB, free: 46.72 MB / 0.6544 GB Notification: Performance of SimCode: time 0.000423/0.757, allocations: 0.5982 MB / 0.7917 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of Templates: time 0.005324/0.7623, allocations: 1.87 MB / 0.7935 GB, free: 46.07 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nand -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1)