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.008884/0.008883, allocations: 103.9 kB / 15.73 MB, free: 6.035 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.001876/0.001877, allocations: 190.5 kB / 16.67 MB, free: 5.969 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.716/1.716, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.686/1.686, allocations: 251.7 MB / 0.5094 GB, free: 3.086 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.001547/0.001548, allocations: 76.31 kB / 0.7258 GB, free: 9.152 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2931/0.2946, allocations: 104.7 MB / 0.8281 GB, free: 360 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.003749/0.2984, allocations: 1.379 MB / 0.8294 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0005509/0.299, allocations: 204.6 kB / 0.8296 GB, free: 14.76 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.91e-05/0.2991, allocations: 4 kB / 0.8296 GB, free: 14.76 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.795e-05/0.2992, allocations: 7.922 kB / 0.8296 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.000131/0.2993, allocations: 11.88 kB / 0.8296 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002117/0.2996, allocations: 19.97 kB / 0.8296 GB, free: 14.72 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001282/0.2997, allocations: 63.72 kB / 0.8297 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001402/0.2999, allocations: 8 kB / 0.8297 GB, free: 14.65 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.451e-05/0.2999, allocations: 23.92 kB / 0.8297 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.627e-05/0.3, allocations: 19.91 kB / 0.8298 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.57e-05/0.3, allocations: 8 kB / 0.8298 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.543e-05/0.3001, allocations: 4 kB / 0.8298 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.244e-05/0.3001, allocations: 8 kB / 0.8298 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.024e-05/0.3002, allocations: 27.86 kB / 0.8298 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001233/0.3003, allocations: 47.8 kB / 0.8298 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.3003, allocations: 3.984 kB / 0.8298 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.617e-06/0.3003, allocations: 0 / 0.8298 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.027e-05/0.3003, allocations: 3.938 kB / 0.8298 GB, free: 14.5 MB / 0.6544 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.0006118/0.3009, allocations: 371.2 kB / 0.8302 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.301, allocations: 15.97 kB / 0.8302 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.68e-05/0.301, allocations: 12.84 kB / 0.8302 GB, free: 14.06 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001753/0.3012, allocations: 168.4 kB / 0.8304 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.3013, allocations: 4.375 kB / 0.8304 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.934e-05/0.3013, allocations: 4.375 kB / 0.8304 GB, free: 13.85 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.3014, allocations: 46.25 kB / 0.8304 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.3014, allocations: 192 / 0.8304 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/0.3015, allocations: 11.92 kB / 0.8305 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.3015, allocations: 0 / 0.8305 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.296e-05/0.3016, allocations: 23.92 kB / 0.8305 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005719/0.3021, allocations: 292.7 kB / 0.8308 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001196/0.3023, allocations: 46.5 kB / 0.8308 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.695e-05/0.3023, allocations: 16.98 kB / 0.8308 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.213e-05/0.3023, allocations: 0 / 0.8308 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002222/0.3026, allocations: 71.33 kB / 0.8309 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.593e-06/0.3026, allocations: 4 kB / 0.8309 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0002725/0.3029, allocations: 85.67 kB / 0.831 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.634e-05/0.3029, allocations: 55.47 kB / 0.831 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.3031, allocations: 117.8 kB / 0.8311 GB, free: 12.99 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.3031, allocations: 25.7 kB / 0.8312 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.548e-05/0.3032, allocations: 92.12 kB / 0.8312 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.047e-05/0.3032, allocations: 7.812 kB / 0.8313 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.092e-05/0.3033, allocations: 25.72 kB / 0.8313 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.3034, allocations: 326.8 kB / 0.8316 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.636e-05/0.3034, allocations: 15.94 kB / 0.8316 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.044e-05/0.3035, allocations: 30.56 kB / 0.8316 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.288e-05/0.3036, allocations: 46.52 kB / 0.8317 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.3036, allocations: 0 / 0.8317 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001346/0.3037, allocations: 78.25 kB / 0.8318 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.3038, allocations: 11.94 kB / 0.8318 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.3038, allocations: 0 / 0.8318 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.3038, allocations: 3.984 kB / 0.8318 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.784e-05/0.3039, allocations: 4 kB / 0.8318 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.3039, allocations: 12 kB / 0.8318 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.56e-05/0.304, allocations: 11.89 kB / 0.8318 GB, free: 12.26 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.304, allocations: 4 kB / 0.8318 GB, free: 12.26 MB / 0.6544 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 9.383e-05/0.3041, allocations: 122 kB / 0.8319 GB, free: 12.13 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.632e-05/0.3041, allocations: 8 kB / 0.8319 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.285e-05/0.3041, allocations: 12.31 kB / 0.8319 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.3042, allocations: 0 / 0.8319 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.3042, allocations: 0 / 0.8319 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.3042, allocations: 7.984 kB / 0.8319 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000164/0.3044, allocations: 185.4 kB / 0.8321 GB, free: 11.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.94e-06/0.3044, allocations: 0 / 0.8321 GB, free: 11.87 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.312e-05/0.3044, allocations: 11.92 kB / 0.8321 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.3044, allocations: 0 / 0.8321 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.707e-06/0.3044, allocations: 0 / 0.8321 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.3044, allocations: 4 kB / 0.8321 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3044, allocations: 0 / 0.8321 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001413/0.3046, allocations: 97.06 kB / 0.8322 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.924e-05/0.3046, allocations: 81.02 kB / 0.8323 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.3046, allocations: 7.984 kB / 0.8323 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.852e-05/0.3047, allocations: 11.98 kB / 0.8323 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.804e-05/0.3048, allocations: 7.984 kB / 0.8323 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.3048, allocations: 4 kB / 0.8323 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.24e-05/0.3049, allocations: 91.28 kB / 0.8324 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3049, allocations: 0 / 0.8324 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002137/0.3051, allocations: 12 kB / 0.8324 GB, free: 11.51 MB / 0.6544 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.0001462/0.3052, allocations: 103.2 kB / 0.8325 GB, free: 11.4 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001418/0.3054, allocations: 47.97 kB / 0.8326 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3054, allocations: 0 / 0.8326 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 5.197e-05/0.3055, allocations: 28.06 kB / 0.8326 GB, free: 11.33 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002483/0.3057, allocations: 22.58 kB / 0.8326 GB, free: 11.31 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00042/0.3061, allocations: 146.2 kB / 0.8328 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002693/0.3064, allocations: 0.6844 MB / 0.8334 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 4.186e-05/0.3065, allocations: 11.84 kB / 0.8334 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.372e-05/0.3065, allocations: 15.44 kB / 0.8335 GB, free: 10.4 MB / 0.6544 GB Notification: Performance of SimCode: time 2.254e-06/0.3065, allocations: 0 / 0.8335 GB, free: 10.4 MB / 0.6544 GB Notification: Performance of Templates: time 0.003605/0.3101, allocations: 0.9145 MB / 0.8344 GB, free: 9.492 MB / 0.6544 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)